From af395e970e087209028f8a9b455cd364ecb8db6d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 23 Apr 2014 13:47:35 -0700 Subject: [PATCH] Removed possible implicit memset() --- src/video/windows/SDL_windowskeyboard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video/windows/SDL_windowskeyboard.c b/src/video/windows/SDL_windowskeyboard.c index 0f3c9fcbf..828e3ff29 100644 --- a/src/video/windows/SDL_windowskeyboard.c +++ b/src/video/windows/SDL_windowskeyboard.c @@ -386,7 +386,8 @@ IME_GetReadingString(SDL_VideoData *videodata, HWND hwnd) INT err = 0; BOOL vertical = FALSE; UINT maxuilen = 0; - static OSVERSIONINFOA osversion = {0}; + static OSVERSIONINFOA osversion; + if (videodata->ime_uiless) return;