From 41e4c91a29934d712ba107dc4b37b340c72d97a5 Mon Sep 17 00:00:00 2001 From: David Rose Date: Sat, 16 Feb 2002 03:01:08 +0000 Subject: [PATCH] parens --- panda/src/wgldisplay/wglGraphicsWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/wgldisplay/wglGraphicsWindow.cxx b/panda/src/wgldisplay/wglGraphicsWindow.cxx index 3fe5e9fdc9..a7e7eeb4c0 100644 --- a/panda/src/wgldisplay/wglGraphicsWindow.cxx +++ b/panda/src/wgldisplay/wglGraphicsWindow.cxx @@ -1670,7 +1670,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) { // endianness of this. I guess it's safe to assume all Win32 // machines are little-endian. for (DWORD i = 0; i < result_size; i += 2) { - int result = (int)ime_result[i + 1] << 8 | ime_result[i]; + int result = (int)(ime_result[i + 1] << 8) | ime_result[i]; _input_devices[0].keystroke(result); } return 0;