diff options
author | rubidium <rubidium@openttd.org> | 2009-03-15 00:32:18 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-15 00:32:18 +0000 |
commit | b25a4f8231f3ded44038ea454a3d4c6a2dc9217d (patch) | |
tree | 776122508c686680b9c97f37ba3cb92ef905d67f /src/waypoint_gui.cpp | |
parent | d72273d1f3b55df0e301408d630f24ef92ea8479 (diff) | |
download | openttd-b25a4f8231f3ded44038ea454a3d4c6a2dc9217d.tar.xz |
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
Diffstat (limited to 'src/waypoint_gui.cpp')
-rw-r--r-- | src/waypoint_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp index 3955f1b1b..e0229c9df 100644 --- a/src/waypoint_gui.cpp +++ b/src/waypoint_gui.cpp @@ -64,7 +64,7 @@ public: virtual void OnClick(Point pt, int widget) { switch (widget) { - case WAYPVW_CENTERVIEW: /* scroll to location */ + case WAYPVW_CENTERVIEW: // scroll to location if (_ctrl_pressed) { ShowExtraViewPortWindow(this->wp->xy); } else { @@ -72,12 +72,12 @@ public: } break; - case WAYPVW_RENAME: /* rename */ + case WAYPVW_RENAME: // rename SetDParam(0, this->wp->index); ShowQueryString(STR_WAYPOINT_RAW, STR_EDIT_WAYPOINT_NAME, MAX_LENGTH_WAYPOINT_NAME_BYTES, MAX_LENGTH_WAYPOINT_NAME_PIXELS, this, CS_ALPHANUMERAL, QSF_ENABLE_DEFAULT); break; - case WAYPVW_SHOW_TRAINS: /* show list of trains having this waypoint in their orders*/ + case WAYPVW_SHOW_TRAINS: // show list of trains having this waypoint in their orders ShowVehicleListWindow(this->wp); break; } |