Use ENABLE_IM_EVENT instead of the same test already done

This commit is contained in:
Jonathan Campbell
2021-07-01 07:38:27 -07:00
parent f3141de5d3
commit 8785b48dac
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;