- 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

4
help.c
View File

@@ -54,9 +54,9 @@ extern char SVN_revision[]; // generated in version.c
word * Shortcut(word shortcut_number)
{
if (shortcut_number & 0x100)
return &(Button[shortcut_number & 0xFF].Left_shortcut[0]);
return &(Buttons_Pool[shortcut_number & 0xFF].Left_shortcut[0]);
if (shortcut_number & 0x200)
return &(Button[shortcut_number & 0xFF].Right_shortcut[0]);
return &(Buttons_Pool[shortcut_number & 0xFF].Right_shortcut[0]);
return &(Config_Key[shortcut_number & 0xFF][0]);
}