From 0f7d925121beb1033917918478c7d213305de595 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 9 May 2008 09:29:27 +0000 Subject: (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. --- src/road_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/road_gui.cpp') diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 07a6f1d0e..511aa44a6 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -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; -- cgit v1.2.3-54-g00ecf