summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/rfb_win32/LowLevelKeyEvents.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/LowLevelKeyEvents.cxx b/win/rfb_win32/LowLevelKeyEvents.cxx
index 322d1f40..e80ebedc 100644
--- a/win/rfb_win32/LowLevelKeyEvents.cxx
+++ b/win/rfb_win32/LowLevelKeyEvents.cxx
@@ -63,7 +63,7 @@ LRESULT CALLBACK LowLevelKeyEventProc(int nCode,
UINT msgType = wParam;
KBDLLHOOKSTRUCT* msgInfo = (KBDLLHOOKSTRUCT*)lParam;
if (filterKeyEvent(msgInfo->vkCode)) {
- vlog.debug("filtered event %lx(%lu) %lu", msgInfo->vkCode, msgInfo->vkCode, wParam);
+ vlog.debug("filtered event %lx(%lu) %lu", msgInfo->vkCode, msgInfo->vkCode, msgType);
PostMessage(*i, wParam, msgInfo->vkCode, (msgInfo->scanCode & 0xff) << 16);
return 1;
}