Use braces in BasicUI::jump_by_seconds()
This commit is contained in:
parent
df185e575e
commit
7fe188ec92
@ -394,7 +394,9 @@ BasicUI::jump_by_seconds (double secs)
|
||||
double s = (double) current / (double) session->nominal_frame_rate();
|
||||
|
||||
s+= secs;
|
||||
if (s < 0) s = 0;
|
||||
if (s < 0) {
|
||||
s = 0;
|
||||
}
|
||||
s = s * session->nominal_frame_rate();
|
||||
|
||||
session->request_locate ( floor(s) );
|
||||
|
Loading…
Reference in New Issue
Block a user