summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-08-01 21:19:49 +0000
committeralberth <alberth@openttd.org>2010-08-01 21:19:49 +0000
commitee01ec9136fa441ff07a535fd85b3fe43a633442 (patch)
tree9480ab27c1b0932b7fc57aae2faacd84abb44bef
parentc32e35c30d3fb2910c31a0221966fcdebd3d58d0 (diff)
downloadopenttd-ee01ec9136fa441ff07a535fd85b3fe43a633442.tar.xz
(svn r20291) -Codechange: Unify break coding style.
-rw-r--r--src/network/network_server.cpp2
-rw-r--r--src/os/macosx/splash.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp
index 09046fb50..bd01d9300 100644
--- a/src/network/network_server.cpp
+++ b/src/network/network_server.cpp
@@ -1152,8 +1152,8 @@ void NetworkServerSendChat(NetworkAction action, DestType desttype, int dest, co
}
}
}
- }
break;
+ }
default:
DEBUG(net, 0, "[server] received unknown chat destination type %d. Doing broadcast instead", desttype);
/* FALL THROUGH */
diff --git a/src/os/macosx/splash.cpp b/src/os/macosx/splash.cpp
index 6d8bf2f1f..14a2a877d 100644
--- a/src/os/macosx/splash.cpp
+++ b/src/os/macosx/splash.cpp
@@ -134,8 +134,8 @@ void DisplaySplashImage()
_pal_first_dirty = 0;
_pal_count_dirty = 256;
+ break;
}
- break;
case 32: {
uint32 *dst_ptr = (uint32 *)_screen.dst_ptr;
/* Initialize buffer */
@@ -149,8 +149,8 @@ void DisplaySplashImage()
dst[x] = palette[src[x]].blue | (palette[src[x]].green << 8) | (palette[src[x]].red << 16) | 0xff000000;
}
}
+ break;
}
- break;
}
png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);