forked from mirror/OpenTTD
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
-CodeLayout: Remove trailing spaces and Windows linebreaks
This commit is contained in:
2
window.c
2
window.c
@@ -25,7 +25,7 @@ void DispatchLeftClickEvent(Window *w, int x, int y) {
|
||||
if (e.click.widget < 0) return; /* exit if clicked outside of widgets */
|
||||
|
||||
wi = &w->widget[e.click.widget];
|
||||
|
||||
|
||||
/* don't allow any interaction if the button has been disabled */
|
||||
if (HASBIT(w->disabled_state, e.click.widget))
|
||||
return;
|
||||
|
Reference in New Issue
Block a user