Parcourir la source

Removed possible implicit memset()

Sam Lantinga il y a 12 ans
Parent
commit
af395e970e
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/video/windows/SDL_windowskeyboard.c

+ 2 - 1
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;