mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
fix compile error
This commit is contained in:
parent
9533c0590d
commit
6ca28e44e7
1 changed files with 6 additions and 2 deletions
|
@ -1663,7 +1663,11 @@ WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
|
|
||||||
case WM_TIMER:
|
case WM_TIMER:
|
||||||
why = (XWTimerReason)wParam;
|
why = (XWTimerReason)wParam;
|
||||||
if ( why == TIMER_PENDOWN || why == TIMER_TIMERTICK || why == TIMER_HEARTBEAT ) {
|
if ( why == TIMER_PENDOWN || why == TIMER_TIMERTICK
|
||||||
|
#ifdef BEYOND_IR
|
||||||
|
|| why == TIMER_HEARTBEAT
|
||||||
|
#endif
|
||||||
|
) {
|
||||||
XP_ASSERT( why < TIMER_NUM_PLUS_ONE );
|
XP_ASSERT( why < TIMER_NUM_PLUS_ONE );
|
||||||
|
|
||||||
/* Kill since they otherwise repeat, but kill before firing
|
/* Kill since they otherwise repeat, but kill before firing
|
||||||
|
@ -2158,7 +2162,7 @@ ce_util_setTimer( XW_UtilCtxt* uc, XWTimerReason why, XP_U16 when,
|
||||||
case TIMER_TIMERTICK:
|
case TIMER_TIMERTICK:
|
||||||
howLong = 1000; /* 1 second */
|
howLong = 1000; /* 1 second */
|
||||||
break;
|
break;
|
||||||
#ifndef XWFEATURE_STANDALONE_ONLY
|
#ifdef BEYOND_IR
|
||||||
case TIMER_HEARTBEAT:
|
case TIMER_HEARTBEAT:
|
||||||
howLong = when * 1000;
|
howLong = when * 1000;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue