Fix format for HMS clock.

This commit is contained in:
Jonathan Moore Liles 2008-05-28 00:20:45 -05:00
parent 5fb04e863b
commit 6330fde479
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ public:
int M = S / 60; S -= M * 60; int M = S / 60; S -= M * 60;
int H = M / 60; M -= H * 60; int H = M / 60; M -= H * 60;
snprintf( dst, n, "%02d:%02d:%05.3f", H, M, S ); snprintf( dst, n, "%02d:%02d:%06.3f", H, M, S );
} }
static void static void