Skip to content

Commit

Permalink
Use ENABLE_IM_EVENT instead of the same test already done
Browse files Browse the repository at this point in the history
  • Loading branch information
joncampbell123 committed Jul 1, 2021
1 parent f3141de commit 8785b48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vs2015/sdl/src/video/windib/SDL_dibvideo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion vs2015/sdl/src/video/windx5/SDL_dx5video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8785b48

Please sign in to comment.