Revision: 2058 http://synfig.svn.sourceforge.net/synfig/?rev=2058&view=rev Author: genete Date: 2008-09-17 20:27:17 +0000 (Wed, 17 Sep 2008)
Log Message: ----------- Apply http://patches.synfig.org/r/4/: Fix bad time entry when format is set to FFf. Patch by dooglus Modified Paths: -------------- synfig-core/trunk/src/synfig/time.cpp Modified: synfig-core/trunk/src/synfig/time.cpp =================================================================== --- synfig-core/trunk/src/synfig/time.cpp 2008-09-15 11:34:34 UTC (rev 2057) +++ synfig-core/trunk/src/synfig/time.cpp 2008-09-17 20:27:17 UTC (rev 2058) @@ -183,10 +183,11 @@ time.value_=ceil(time.value_); int hour,minute; - - hour=time/3600;time-=hour*3600; - minute=time/60;time-=minute*60; - + if(!(format<=FORMAT_FRAMES)) + { + hour=time/3600;time-=hour*3600; + minute=time/60;time-=minute*60; + } // <= is redefined, so this means "is the FORMAT_VIDEO bit set in the format?" if(format<=FORMAT_VIDEO) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl