(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.
This commit is contained in:
Darkvater
2006-12-01 00:09:13 +00:00
parent 3762f8d9d2
commit fc1a90b663
10 changed files with 4 additions and 23 deletions

View File

@@ -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: