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 | 04f99447469d335af52702aad35cc2d3f705c06d (patch) | |
tree | 34e228c15bbd169f5c13601b61aa43ae9e3b95ba /build_vehicle_gui.c | |
parent | 9b4d3ff4b88eb6d655bf31afc28a6afa849f07f7 (diff) | |
download | openttd-04f99447469d335af52702aad35cc2d3f705c06d.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 'build_vehicle_gui.c')
-rw-r--r-- | build_vehicle_gui.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/build_vehicle_gui.c b/build_vehicle_gui.c index b1c82c95f..dc4e0e7dd 100644 --- a/build_vehicle_gui.c +++ b/build_vehicle_gui.c @@ -428,7 +428,6 @@ static void NewAircraftWndProc(Window *w, WindowEvent *e) switch (e->event) { case WE_INVALIDATE_DATA: GenerateBuildList(w); - SetWindowDirty(w); break; case WE_DESTROY: |