summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-06-17 02:33:42 +0000
committerbelugas <belugas@openttd.org>2008-06-17 02:33:42 +0000
commitda5fb0cf7e4fadd9767f838350c1a98383b3cd7c (patch)
tree566d317cd3bb00fcfad8a940a0b34fbb707ce26c /src
parentf5f05b4e86624ee1c744832c454d54a470bc8a3a (diff)
downloadopenttd-da5fb0cf7e4fadd9767f838350c1a98383b3cd7c.tar.xz
(svn r13541) -Codechange: Aligning some switch case. Code cosmetics.
Diffstat (limited to 'src')
-rw-r--r--src/toolbar_gui.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp
index cd892cec3..10cf8b1ff 100644
--- a/src/toolbar_gui.cpp
+++ b/src/toolbar_gui.cpp
@@ -162,11 +162,11 @@ static void ToolbarOptionsClick(Window *w)
static void MenuClickSettings(int index)
{
switch (index) {
- case 0: ShowGameOptions(); return;
- case 1: ShowGameDifficulty(); return;
- case 2: ShowPatchesSelection(); return;
- case 3: ShowNewGRFSettings(!_networking, true, true, &_grfconfig); return;
- case 4: ShowTransparencyToolbar(); break;
+ case 0: ShowGameOptions(); return;
+ case 1: ShowGameDifficulty(); return;
+ case 2: ShowPatchesSelection(); return;
+ case 3: ShowNewGRFSettings(!_networking, true, true, &_grfconfig); return;
+ case 4: ShowTransparencyToolbar(); break;
case 6: ToggleBit(_display_opt, DO_SHOW_TOWN_NAMES); break;
case 7: ToggleBit(_display_opt, DO_SHOW_STATION_NAMES); break;