From: dooglus Date: Wed, 24 Oct 2007 00:10:32 +0000 (+0000) Subject: Don't break time into seconds and frames when the framerate is 1 or more. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=068f3f607f6ce56696509225fec71acaee3a79a1;p=synfig.git 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 --- 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;