projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Typo.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
time.cpp
diff --git
a/synfig-core/trunk/src/synfig/time.cpp
b/synfig-core/trunk/src/synfig/time.cpp
index
255359b
..
b751e8e
100644
(file)
--- a/
synfig-core/trunk/src/synfig/time.cpp
+++ b/
synfig-core/trunk/src/synfig/time.cpp
@@
-101,7
+101,7
@@
Time::Time(const String &str_, float fps):
int read;
float amount;
int read;
float amount;
- // Now try to read it in the letter-abreviated format
+ // Now try to read it in the letter-ab
b
reviated format
while(pos<str.size() && sscanf(String(str,pos).c_str(),"%f%n",&amount,&read))
{
pos+=read;
while(pos<str.size() && sscanf(String(str,pos).c_str(),"%f%n",&amount,&read))
{
pos+=read;
@@
-193,7
+193,7
@@
Time::get_string(float fps, Time::Format format)const
int second;
second=time;time-=second;
int second;
second=time;time-=second;
- if(fps)
+ if(fps
&& fps>1
)
{
int frame;
frame=round_to_int(time*fps);
{
int frame;
frame=round_to_int(time*fps);
@@
-219,7
+219,7
@@
Time::get_string(float fps, Time::Format format)const
started = true;
}
started = true;
}
- if(fps)
+ if(fps
&& fps>1
)
{
int second;
float frame;
{
int second;
float frame;