Cosmetic: Output formatting tweaked: '\t' vs. ' '
[timeplan.git] / timeplan.c
index 3847022..c489ce0 100644 (file)
@@ -131,7 +131,7 @@ dump:
                                else origtot++;
                        }
        if (action)
                                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);
 }
                        action->stores,action->what);
        return(origtot);
 }
@@ -157,7 +157,7 @@ struct action **sorta FAKEUSE,**sorti FAKEUSE;
 int totalwidth=dumpaction(NULL);
 
                while (totalwidth-->5) putchar(' ');
 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);
                if (!(sorta=malloc(sizeof(*sorta)*hashtable_tot))) {
                        fprintf(ERRH1"malloc() of %d pointers"ERRNO1,ERRH2,hashtable_tot,ERRNO2);
                        exit(EXIT_FAILURE);