mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Use ENABLE_IM_EVENT instead of the same test already done
This commit is contained in:
@@ -237,7 +237,7 @@ static SDL_VideoDevice *DIB_CreateDevice(int devindex)
|
||||
device->SetIMValues = DIB_SetIMValues;
|
||||
device->GetIMValues = DIB_GetIMValues;
|
||||
device->FlushIMString = DIB_FlushIMString;
|
||||
#if !defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR)
|
||||
#if ENABLE_IM_EVENT
|
||||
device->GetIMInfo = WIN_GetIMInfo;
|
||||
#endif
|
||||
device->free = DIB_DeleteDevice;
|
||||
|
@@ -722,7 +722,7 @@ static SDL_VideoDevice *DX5_CreateDevice(int devindex)
|
||||
device->SetIMValues = DX5_SetIMValues;
|
||||
device->GetIMValues = DX5_GetIMValues;
|
||||
device->FlushIMString = DX5_FlushIMString;
|
||||
#if !defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR)
|
||||
#if ENABLE_IM_EVENT
|
||||
device->GetIMInfo = WIN_GetIMInfo;
|
||||
#endif
|
||||
device->free = DX5_DeleteDevice;
|
||||
|
Reference in New Issue
Block a user