- 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:
Franck Charlet
2009-04-14 12:19:34 +00:00
parent 6823855cbb
commit 7dae508324
9 changed files with 138 additions and 170 deletions

View File

@@ -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;
}