aboutsummaryrefslogtreecommitdiffstats
path: root/UefiMonitorTest/UefiMonitorTest.c
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2022-05-03 16:57:03 +0300
committerJoursoir <chat@joursoir.net>2022-05-03 16:57:03 +0300
commit29beda658b9a820339228e4027523cb8fcccc0c0 (patch)
treead983d69e33f24406ff48f6b401dfc3b2df7ce54 /UefiMonitorTest/UefiMonitorTest.c
parenta9ee58823fd93fee59f73ebe83b762c43c329796 (diff)
downloadumt-29beda658b9a820339228e4027523cb8fcccc0c0.tar.gz
umt-29beda658b9a820339228e4027523cb8fcccc0c0.tar.bz2
umt-29beda658b9a820339228e4027523cb8fcccc0c0.zip
main: fix incorrect scan code check
Diffstat (limited to 'UefiMonitorTest/UefiMonitorTest.c')
-rw-r--r--UefiMonitorTest/UefiMonitorTest.c2
1 files changed, 1 insertions, 1 deletions
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);
}