mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
parens
This commit is contained in:
parent
41e4c91a29
commit
22ff3439e9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user