From fb91d2fc7526cd9eaab1675155863e77e1255616 Mon Sep 17 00:00:00 2001 From: Matthew Lee Date: Sat, 22 Aug 2026 10:26:53 +0300 Subject: [PATCH] Update windows/src/engine/keyman32/capsstate.cpp Co-authored-by: Marc Durdin --- windows/src/engine/keyman32/capsstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/src/engine/keyman32/capsstate.cpp b/windows/src/engine/keyman32/capsstate.cpp index b87ad92ff5..85d58900b7 100644 --- a/windows/src/engine/keyman32/capsstate.cpp +++ b/windows/src/engine/keyman32/capsstate.cpp @@ -43,5 +43,5 @@ void RefreshToggleState(void) { if (GetKeyState(VK_NUMLOCK) & 1) *Globals::ShiftState() |= NUMLOCKFLAG; else *Globals::ShiftState() &= ~NUMLOCKFLAG; - SendDebugMessageFormat("Enter: %x Exit: %x", n, Globals::get_ShiftState()); + SendDebugMessageFormat("Enter: %x Exit: %x", previousShiftState, Globals::get_ShiftState()); }