mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-11-16 07:48:07 +01:00
constant name changed
This commit is contained in:
parent
a236d6a972
commit
c0bdfb54c9
4 changed files with 8 additions and 8 deletions
|
@ -86,7 +86,7 @@ typedef struct GtkAppGlobals {
|
|||
|
||||
ClientStreamRec clientRecs[MAX_NUM_PLAYERS];
|
||||
|
||||
guint timerSources[TIMER_NUM_PLUS_ONE - 1];
|
||||
guint timerSources[NUM_TIMERS_PLUS_ONE - 1];
|
||||
|
||||
CommonPrefs cp;
|
||||
|
||||
|
|
|
@ -83,8 +83,8 @@ typedef struct CommonGlobals {
|
|||
SocketChangedFunc socketChanged;
|
||||
void* socketChangedClosure;
|
||||
|
||||
TimerProc timerProcs[TIMER_NUM_PLUS_ONE - 1];
|
||||
void* timerClosures[TIMER_NUM_PLUS_ONE - 1];
|
||||
TimerProc timerProcs[NUM_TIMERS_PLUS_ONE - 1];
|
||||
void* timerClosures[NUM_TIMERS_PLUS_ONE - 1];
|
||||
} CommonGlobals;
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1385,7 +1385,7 @@ figureWaitTicks( PalmAppGlobals* globals )
|
|||
#endif
|
||||
} else if ( globals->timeRequested || globals->hintPending ) {
|
||||
result = 0;
|
||||
} else if ( *timeForTimer( globals, &why, &when ) ) {
|
||||
} else if ( timeForTimer( globals, &why, &when ) ) {
|
||||
result = when - TimGetTicks();
|
||||
if ( result < 0 ) {
|
||||
result = 0;
|
||||
|
@ -1563,7 +1563,7 @@ timeForTimer( PalmAppGlobals* globals, XWTimerReason* why, XP_U32* when )
|
|||
XP_U32 nextWhen = 0xFFFFFFFF;
|
||||
XP_Bool found;
|
||||
|
||||
for ( i = 1; i < TIMER_NUM_PLUS_ONE; ++i ) {
|
||||
for ( i = 1; i < NUM_TIMERS_PLUS_ONE; ++i ) {
|
||||
if ( (globals->timerProcs[i] != NULL) &&
|
||||
(globals->timerFireAt[i] < nextWhen) ) {
|
||||
nextWhy = i;
|
||||
|
|
|
@ -306,9 +306,9 @@ struct PalmAppGlobals {
|
|||
|
||||
struct ConnsDlgState* connState;
|
||||
|
||||
TimerProc timerProcs[TIMER_NUM_PLUS_ONE];
|
||||
void* timerClosures[TIMER_NUM_PLUS_ONE];
|
||||
XP_U32 timerFireAt[TIMER_NUM_PLUS_ONE];
|
||||
TimerProc timerProcs[NUM_TIMERS_PLUS_ONE];
|
||||
void* timerClosures[NUM_TIMERS_PLUS_ONE];
|
||||
XP_U32 timerFireAt[NUM_TIMERS_PLUS_ONE];
|
||||
|
||||
#ifdef BEYOND_IR
|
||||
NetLibStuff nlStuff;
|
||||
|
|
Loading…
Reference in a new issue