1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

rename key

This commit is contained in:
FunkyFr3sh 2023-08-13 01:23:19 +02:00
parent 2f7646c6d1
commit e6c7057d8c

View File

@ -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) {