* 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:
Adrien Destugues 2012-01-01 16:29:04 +00:00
parent dda62b043a
commit cf617715d7
2 changed files with 1 additions and 2 deletions

View File

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

View File

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