- Renamed the "Button" array into "Buttons_Pool" due to a conflict with Apple headers.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@748 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
8
input.c
8
input.c
@@ -63,17 +63,17 @@ int Is_shortcut(word Key, word function)
|
||||
|
||||
if (function & 0x100)
|
||||
{
|
||||
if (Button[function&0xFF].Left_shortcut[0]==Key)
|
||||
if (Buttons_Pool[function&0xFF].Left_shortcut[0]==Key)
|
||||
return 1;
|
||||
if (Button[function&0xFF].Left_shortcut[1]==Key)
|
||||
if (Buttons_Pool[function&0xFF].Left_shortcut[1]==Key)
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
if (function & 0x200)
|
||||
{
|
||||
if (Button[function&0xFF].Right_shortcut[0]==Key)
|
||||
if (Buttons_Pool[function&0xFF].Right_shortcut[0]==Key)
|
||||
return 1;
|
||||
if (Button[function&0xFF].Right_shortcut[1]==Key)
|
||||
if (Buttons_Pool[function&0xFF].Right_shortcut[1]==Key)
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user