(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments.

This commit is contained in:
rubidium
2008-05-09 09:29:27 +00:00
parent 486172e07f
commit f438700402
16 changed files with 25 additions and 25 deletions

View File

@@ -762,7 +762,7 @@ static void BuildRoadDepotWndProc(Window *w, WindowEvent *e)
}
break;
case WE_MOUSELOOP:
case WE_TICK:
if (WP(w, def_d).close) delete w;
break;
@@ -919,7 +919,7 @@ static void RoadStationPickerWndProc(Window *w, WindowEvent *e)
}
break;
case WE_MOUSELOOP:
case WE_TICK:
if (WP(w, def_d).close) {
delete w;
return;