mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-07 09:28:03 +08:00
Fix KBM compile time warnings (#2912)
This commit is contained in:
parent
e723e87c74
commit
1de93be0f0
@ -159,6 +159,8 @@ namespace KeyboardManagerHelper
|
||||
return L"Shortcut cannot have more than one action key";
|
||||
case ErrorType::ShortcutMaxShortcutSizeOneActionKey:
|
||||
return L"Shortcuts can only have up to 2 modifier keys";
|
||||
default:
|
||||
return L"Unexpected error";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -99,7 +99,7 @@ DWORD Shortcut::GetWinKey(const ModifierKey& input) const
|
||||
//return VK_LWIN by default
|
||||
return VK_LWIN;
|
||||
}
|
||||
else if (input == ModifierKey::Both)
|
||||
else
|
||||
{
|
||||
return CommonSharedConstants::VK_WIN_BOTH;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user