Fix buggy preprocessor conditional
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
static int kbdhead=0, kbdtail=0;
|
||||
static UniChar kbdbuf[KBDBUFSIZE];
|
||||
static UniChar lastchar;
|
||||
#ifdef SDL_MAJOR_VERSION == 1
|
||||
#if SDL_MAJOR_VERSION == 1
|
||||
static unsigned int num_keys = 0;
|
||||
static int *kbdstate = NULL;
|
||||
// Holds all SDL keys +1 for holding invalid values
|
||||
@@ -280,7 +280,9 @@ TFB_UninitInput (void)
|
||||
{
|
||||
VControl_Uninit ();
|
||||
HFree (controls);
|
||||
#if SDL_MAJOR_VERSION == 1
|
||||
HFree (kbdstate);
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user