diff options
author | Darkvater <Darkvater@openttd.org> | 2006-12-01 00:09:13 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-12-01 00:09:13 +0000 |
commit | fc1a90b6630a65c7164eefea0abd0e76a9ce2b98 (patch) | |
tree | 34e228c15bbd169f5c13601b61aa43ae9e3b95ba /train_gui.c | |
parent | 3762f8d9d25fb5acf2abbdeec3bb40cb06c991d3 (diff) | |
download | openttd-fc1a90b6630a65c7164eefea0abd0e76a9ce2b98.tar.xz |
(svn r7313) -Codechange: Calling invalidate data on a window will surely warrant a redraw, so call
that after the WE_INVALIDATE_DATA event and remove (some of) the superflouous calls.
Diffstat (limited to 'train_gui.c')
-rw-r--r-- | train_gui.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/train_gui.c b/train_gui.c index 94fb07cb4..d3b30df7b 100644 --- a/train_gui.c +++ b/train_gui.c @@ -473,7 +473,6 @@ static void NewRailVehicleWndProc(Window *w, WindowEvent *e) case WE_INVALIDATE_DATA: GenerateBuildList(w); - SetWindowDirty(w); break; case WE_DESTROY: |