rename key
This commit is contained in:
parent
2f7646c6d1
commit
e6c7057d8c
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue