13
0

Use braces in BasicUI::jump_by_seconds()

This commit is contained in:
Tim Mayberry 2017-05-16 10:49:05 +10:00
parent df185e575e
commit 7fe188ec92

View File

@ -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) );