* Fix missing parenthses in function call (!). Still wondering why gcc compiled it...
* Remove useless goto, code flow does what's needed already. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1888 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
dda62b043a
commit
cf617715d7
@ -1484,7 +1484,6 @@ void Main_handler(void)
|
||||
Close_popup();
|
||||
|
||||
Mouse_K = x; // Close_popup waits for end of click and resets Mouse_K...
|
||||
goto HANDLE_CLICK;
|
||||
}
|
||||
|
||||
Print_in_menu(Menu_tooltip[button_index],0);
|
||||
|
||||
@ -165,7 +165,7 @@ short Layer_under_mouse(void)
|
||||
|
||||
void Button_Layer_select(void)
|
||||
{
|
||||
short layer = Layer_under_mouse;
|
||||
short layer = Layer_under_mouse();
|
||||
Layer_activate(layer, LEFT_SIDE);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user