X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/blobdiff_plain/5a4a23e5e8032dfa1f7b73facb32f0c9ab200765..bbe659b000e2c281340953c5fc96bd7ac3b94eaa:/src/motif.c diff --git a/src/motif.c b/src/motif.c index 891fe47..fe03079 100644 --- a/src/motif.c +++ b/src/motif.c @@ -142,7 +142,7 @@ static void timer_tick(void *data, XtIntervalId *id) return; } - app = XtWidgetToApplicationContext(state->timer); + app = XtWidgetToApplicationContext(state->game); ui_timer_update(state, game_elapsed(&state->board)); state->timer_tick = XtAppAddTimeOut(app, TIMER_UPDATE_MS, timer_tick, state);