Wow, that was dumb

This commit is contained in:
Kevin Lange 2011-12-04 14:06:35 -06:00
parent 48ec643ed1
commit 387400bbbd

View File

@ -569,10 +569,10 @@ ready:
time(&current);
double diff = difftime(current, start);
/* Now count the length of the time difference so we can center */
int nLen = (int)diff;
int nLen = digits((int)diff);
int width = (80 - 29 - nLen) / 2;
/* Spit out some spaces so that we're actually centered */
while (width) {
while (width > 0) {
printf(" ");
width--;
}