X-Git-Url: https://git.jankratochvil.net/?p=timeplan.git;a=blobdiff_plain;f=timeplan.c;h=c489ce082cdb2e1d2ce6ab24230bb4a0cc8ace87;hp=38470220bfc65480e643f48782a00fd9890140cc;hb=2db7fa3882fa45d2953f56dcd3510e8d4d23ca34;hpb=656019e3f2cd920ff68fe8f7d3ca6b15eb5e9b79;ds=sidebyside diff --git a/timeplan.c b/timeplan.c index 3847022..c489ce0 100644 --- a/timeplan.c +++ b/timeplan.c @@ -131,7 +131,7 @@ dump: else origtot++; } if (action) - printf("=%02d/%02d:%02d\t%4d\t%s\n",days,hours,mins, + printf("=%03d/%02d:%02d %4d\t%s\n",days,hours,mins, action->stores,action->what); return(origtot); } @@ -157,7 +157,7 @@ struct action **sorta FAKEUSE,**sorti FAKEUSE; int totalwidth=dumpaction(NULL); while (totalwidth-->5) putchar(' '); - puts("Total Da Hr Mi\tStor\tDescription"); + puts("Total Day Hr Mi Stor\tDescription"); if (!(sorta=malloc(sizeof(*sorta)*hashtable_tot))) { fprintf(ERRH1"malloc() of %d pointers"ERRNO1,ERRH2,hashtable_tot,ERRNO2); exit(EXIT_FAILURE);