diff options
author | darkvater <darkvater@openttd.org> | 2004-09-12 21:49:38 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-09-12 21:49:38 +0000 |
commit | e295e46e3eccd58626ce2b02aab24b96c025636b (patch) | |
tree | 849dacad3729ee4bbd27669505a1932ca301592d /window.c | |
parent | 1b498bca57457a5f46cc43baef225687e312692b (diff) | |
download | openttd-e295e46e3eccd58626ce2b02aab24b96c025636b.tar.xz |
(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
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |