Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
grimes2 committed Apr 27, 2023
1 parent ac2d2f2 commit 5a66fdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions foo_preview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ class play_callback_preview : public play_callback_static
{
cfg_previewstart.get(preview_start);
preview_start2 = atoi(preview_start);
if (preview_start2 > total_time2 - preview_time2) {
preview_start2 = total_time2 - preview_time2;
}
}
ptr4 = SetTimer(NULL, ID_TIMER4, 0, (TIMERPROC)PreviewTimer2);
ptr3 = SetTimer(NULL, ID_TIMER3, (UINT)preview_time2 * 1000, (TIMERPROC)PreviewTimer);
Expand Down

0 comments on commit 5a66fdc

Please sign in to comment.