diff options
author | rubidium <rubidium@openttd.org> | 2008-05-09 09:29:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-09 09:29:27 +0000 |
commit | 0f7d925121beb1033917918478c7d213305de595 (patch) | |
tree | 3a614e86500df9bd4d6ff37cbc44cca603933d88 /src/road_gui.cpp | |
parent | edc756697eb51474fdf0bad5c64056cf5d12d377 (diff) | |
download | openttd-0f7d925121beb1033917918478c7d213305de595.tar.xz |
(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.
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r-- | src/road_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |