mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
Fix KBM compile time warnings (#2912)
This commit is contained in:
@@ -159,6 +159,8 @@ namespace KeyboardManagerHelper
|
|||||||
return L"Shortcut cannot have more than one action key";
|
return L"Shortcut cannot have more than one action key";
|
||||||
case ErrorType::ShortcutMaxShortcutSizeOneActionKey:
|
case ErrorType::ShortcutMaxShortcutSizeOneActionKey:
|
||||||
return L"Shortcuts can only have up to 2 modifier keys";
|
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 by default
|
||||||
return VK_LWIN;
|
return VK_LWIN;
|
||||||
}
|
}
|
||||||
else if (input == ModifierKey::Both)
|
else
|
||||||
{
|
{
|
||||||
return CommonSharedConstants::VK_WIN_BOTH;
|
return CommonSharedConstants::VK_WIN_BOTH;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user