diff options
author | Joursoir <chat@joursoir.net> | 2022-05-03 16:57:03 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2022-05-03 16:57:03 +0300 |
commit | 29beda658b9a820339228e4027523cb8fcccc0c0 (patch) | |
tree | ad983d69e33f24406ff48f6b401dfc3b2df7ce54 /UefiMonitorTest/UefiMonitorTest.c | |
parent | a9ee58823fd93fee59f73ebe83b762c43c329796 (diff) | |
download | umt-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.c | 2 |
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); } |