Browse Source

new cursor_pos parameter

David Rose 22 years ago
parent
commit
9904a6cb96
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/windisplay/winGraphicsWindow.cxx

+ 1 - 1
panda/src/windisplay/winGraphicsWindow.cxx

@@ -1187,7 +1187,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
 
           can_t[result_size/sizeof(wchar_t)] = '\0';
           
-          _input_devices[0].candidate(can_t, min(cursor_pos, delta_start), max(cursor_pos, delta_start));
+          _input_devices[0].candidate(can_t, min(cursor_pos, delta_start), max(cursor_pos, delta_start), cursor_pos);
 
           ImmReleaseContext(hwnd, hIMC);
         }