From e6c7057d8c6e932a91ae7e7c5febc2fbe9b02d95 Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Sun, 13 Aug 2023 01:23:19 +0200 Subject: [PATCH] rename key --- config/ConfigFormUnit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/ConfigFormUnit.cpp b/config/ConfigFormUnit.cpp index 50395be..c03a702 100644 --- a/config/ConfigFormUnit.cpp +++ b/config/ConfigFormUnit.cpp @@ -1068,7 +1068,7 @@ void __fastcall TConfigForm::HotkeyEdtKeyUp(TObject *Sender, WORD &Key, TShiftSt WORD TConfigForm::GetKeyCode(System::UnicodeString key) { - if (key == L"Print Screen") { + if (key == L"PrtScn") { return VK_SNAPSHOT; } @@ -1086,7 +1086,7 @@ WORD TConfigForm::GetKeyCode(System::UnicodeString key) System::UnicodeString TConfigForm::GetKeyText(WORD key) { if (key == VK_SNAPSHOT) { - return L"Print Screen"; + return L"PrtScn"; } if (key == VK_RMENU) {