Skip to content
Snippets Groups Projects
Commit 0f9aaa76 authored by slevy's avatar slevy
Browse files

Handle wrap band correctly (no extra ";"!).
parent 9d550c39
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ double clock_time( SClock *clk ) {
} else if(clk->curtime > clk->tmax) {
double delta = fmod( clk->curtime - clk->tmax,
clk->tmax - clk->tmin + 2*clk->wrapband );
clk->tmax - clk->tmin + 2*clk->wrapband )
- clk->wrapband;
if(delta > 0) clock_set_time( clk, clk->tmin + delta );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment