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:
parent
2f7646c6d1
commit
e6c7057d8c
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user