From 73282bbf4dcac388808db0d40d889be488a2a3de Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Tue, 22 Apr 2008 23:39:08 -0500 Subject: [PATCH] Fix printf format in clock code. --- Timeline/Clock.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Timeline/Clock.H b/Timeline/Clock.H index 2896598..69a9b06 100644 --- a/Timeline/Clock.H +++ b/Timeline/Clock.H @@ -62,7 +62,7 @@ public: int M = S / 60; S -= M * 60; int H = M / 60; M -= H * 60; - snprintf( dst, n, "%02d:%02d:%02.1f", H, M, S ); + snprintf( dst, n, "%02d:%02d:%04.1f", H, M, S ); }