From 22ff3439e9089334ca70fed3842d1323bf3875bd Mon Sep 17 00:00:00 2001 From: David Rose Date: Sat, 16 Feb 2002 03:01:42 +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 a7e7eeb4c0..203aafa11e 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;