Fix the remaining non-unicode version issues in the input library
This commit is contained in:
@@ -242,7 +242,12 @@ TFB_InitInput (int driver, int flags)
|
||||
log_add (log_Info, "The names of the joysticks are:");
|
||||
for (i = 0; i < nJoysticks; i++)
|
||||
{
|
||||
log_add (log_Info, " %s", SDL_JoystickName (i));
|
||||
log_add (log_Info, " %s",
|
||||
#if SDL_MAJOR_VERSION == 1
|
||||
SDL_JoystickName (i));
|
||||
#else
|
||||
SDL_JoystickNameForIndex (i));
|
||||
#endif
|
||||
}
|
||||
SDL_JoystickEventState (SDL_ENABLE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user