From 29beda658b9a820339228e4027523cb8fcccc0c0 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Tue, 3 May 2022 16:57:03 +0300 Subject: main: fix incorrect scan code check --- UefiMonitorTest/UefiMonitorTest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'UefiMonitorTest/UefiMonitorTest.c') diff --git a/UefiMonitorTest/UefiMonitorTest.c b/UefiMonitorTest/UefiMonitorTest.c index 1b74703..44b9ae6 100644 --- a/UefiMonitorTest/UefiMonitorTest.c +++ b/UefiMonitorTest/UefiMonitorTest.c @@ -178,7 +178,7 @@ HandleInput ( break; } - if (KeyData.Key.ScanCode == NULL && KeyData.Key.UnicodeChar == L' ') { + if (KeyData.Key.ScanCode == SCAN_NULL && KeyData.Key.UnicodeChar == L' ') { Ctx->ShowTip = !Ctx->ShowTip; Ctx->Actions->Tip (Ctx); } -- cgit v1.2.3-18-g5258