mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-07 22:03:42 -06:00
CtrlCore: HotKey implementation fixed to workaround MSC7.1 compiler bug (thanks glx117)
git-svn-id: svn://ultimatepp.org/upp/trunk@1592 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f7f80b62eb
commit
5c61fdc7ed
1 changed files with 1 additions and 1 deletions
|
|
@ -710,7 +710,7 @@ void Ctrl::sProcessMSG(MSG& msg)
|
|||
{
|
||||
if (msg.message == WM_HOTKEY) {
|
||||
if(msg.wParam >= 0 && (int)msg.wParam < Ctrl::hotkey.GetCount())
|
||||
Ctrl::hotkey[msg.wParam]();
|
||||
Ctrl::hotkey[(int)msg.wParam]();
|
||||
return;
|
||||
}
|
||||
if(msg.message != WM_SYSKEYDOWN && msg.message != WM_SYSKEYUP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue