Mend bug in SDL agnostic SDL_TimerID check

Had 0 vs NULL swapped between SDL 1 & 2
This commit is contained in:
Bill Kendrick 2022-05-19 01:21:32 -07:00
parent 4a1d0cc846
commit 166b6aa233

View file

@ -2341,9 +2341,9 @@ on_screen_keyboard *new_kbd;
SDL_Rect kbd_rect;
#if (SDL_MAJOR_VERSION < 2)
#define TIMERID_NONE 0
#else
#define TIMERID_NONE NULL
#else
#define TIMERID_NONE 0
#endif
int brushflag, xnew, ynew, eraflag, lineflag, magicflag, keybd_flag, keybd_position, keyglobal, initial_y, gen_key_flag,