From 068f3f607f6ce56696509225fec71acaee3a79a1 Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 24 Oct 2007 00:10:32 +0000 Subject: [PATCH] Don't break time into seconds and frames when the framerate is 1 or more. git-svn-id: http://svn.voria.com/code@956 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/time.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synfig-core/trunk/src/synfig/time.cpp b/synfig-core/trunk/src/synfig/time.cpp index 255359b..98dbff5 100644 --- a/synfig-core/trunk/src/synfig/time.cpp +++ b/synfig-core/trunk/src/synfig/time.cpp @@ -193,7 +193,7 @@ Time::get_string(float fps, Time::Format format)const int second; second=time;time-=second; - if(fps) + if(fps && fps>1) { int frame; frame=round_to_int(time*fps); @@ -219,7 +219,7 @@ Time::get_string(float fps, Time::Format format)const started = true; } - if(fps) + if(fps && fps>1) { int second; float frame; -- 2.7.4