Skip to content

Commit

Permalink
Update widget.cpp
Browse files Browse the repository at this point in the history
avoid timer being 0!!!
  • Loading branch information
GillesDuvert authored Aug 17, 2024
1 parent 52e8c6d commit 2868623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2632,7 +2632,7 @@ void widget_control( EnvT* e ) {
// bool delay_destroy = e->KeywordSet( delay_destroyIx ); //TBD, this seems tricky.

static int timerIx = e->KeywordIx( "TIMER" );
bool doTimer = e->KeywordPresent( timerIx );
bool doTimer = e->KeywordSet( timerIx );

DString eventPro = "";
static int eventproIx = e->KeywordIx( "EVENT_PRO" );
Expand Down

0 comments on commit 2868623

Please sign in to comment.