- 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:
4
help.c
4
help.c
@@ -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]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user