src/video/windib/SDL_dibevents.c
changeset 1048 a78acdd4967e
parent 975 add87cc1de0a
child 1152 51a8702d8ecd
equal deleted inserted replaced
1047:ffaaf7ecf685 1048:a78acdd4967e
   114 					GetMessage(&m, hwnd, 0, WM_USER);
   114 					GetMessage(&m, hwnd, 0, WM_USER);
   115 			    		wParam = m.wParam;
   115 			    		wParam = m.wParam;
   116 				} else {
   116 				} else {
   117 					wParam = 0;
   117 					wParam = 0;
   118 				}
   118 				}
   119 			} else {
       
   120 				wParam = 0;
       
   121 			}
   119 			}
   122 #endif /* NO_GETKEYBOARDSTATE */
   120 #endif /* NO_GETKEYBOARDSTATE */
   123 			posted = SDL_PrivateKeyboard(SDL_PRESSED,
   121 			posted = SDL_PrivateKeyboard(SDL_PRESSED,
   124 				TranslateKey(wParam,HIWORD(lParam),&keysym,1));
   122 				TranslateKey(wParam,HIWORD(lParam),&keysym,1));
   125 		}
   123 		}