mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlCore: Fixed issue with WM_HOTKEY (thanks Zbych!)
git-svn-id: svn://ultimatepp.org/upp/trunk@6614 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
84ced1005f
commit
5f759fddfe
1 changed files with 1 additions and 1 deletions
|
|
@ -754,7 +754,7 @@ void Ctrl::UnregisterSystemHotKey(int id)
|
|||
void Ctrl::sProcessMSG(MSG& msg)
|
||||
{
|
||||
if (msg.message == WM_HOTKEY) {
|
||||
if(msg.wParam >= 0 && (int)msg.wParam < Ctrl::hotkey.GetCount())
|
||||
if((int)msg.wParam >= 0 && (int)msg.wParam < Ctrl::hotkey.GetCount())
|
||||
Ctrl::hotkey[(int)msg.wParam]();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue