git://git.jankratochvil.net
/
timeplan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
656019e
)
Cosmetic: Output formatting tweaked: '\t' vs. ' '
author
short
<>
Tue, 21 Nov 2000 14:59:33 +0000
(14:59 +0000)
committer
short
<>
Tue, 21 Nov 2000 14:59:33 +0000
(14:59 +0000)
timeplan.c
patch
|
blob
|
history
diff --git
a/timeplan.c
b/timeplan.c
index
3847022
..
c489ce0
100644
(file)
--- a/
timeplan.c
+++ b/
timeplan.c
@@
-131,7
+131,7
@@
dump:
else origtot++;
}
if (action)
else origtot++;
}
if (action)
- printf("=%0
2d/%02d:%02d\t
%4d\t%s\n",days,hours,mins,
+ printf("=%0
3d/%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\t
Stor\tDescription");
+ puts("Total Da
y 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);