• R/O
  • HTTP
  • SSH
  • HTTPS

xkeymacs: Commit


Commit MetaInfo

Revision205ff3af851c1c8293a64ab70d34ba20921390cb (tree)
Time2011-06-21 20:33:21
AuthorKazuhiro Fujieda <fujieda@user...>
CommiterKazuhiro Fujieda

Log Message

Fix a bug where CallNextHookEx is wrongly called twice in
CXkeymacsDll::CallWndProc.

Change Summary

Incremental Difference

--- a/xkeymacsdll/xkeymacsdll.cpp
+++ b/xkeymacsdll/xkeymacsdll.cpp
@@ -370,7 +370,7 @@ BOOL CXkeymacsDll::IsKeyboardHook()
370370 LRESULT CALLBACK CXkeymacsDll::CallWndProc(int nCode, WPARAM wParam, LPARAM lParam)
371371 {
372372 if (nCode < 0)
373- CallNextHookEx(m_hHookCallWnd, nCode, wParam, lParam);
373+ return CallNextHookEx(m_hHookCallWnd, nCode, wParam, lParam);
374374 const CWPSTRUCT *cwps = reinterpret_cast<CWPSTRUCT *>(lParam);
375375 switch (cwps->message) {
376376 case WM_IME_STARTCOMPOSITION:
Show on old repository browser