summaryrefslogtreecommitdiff
path: root/news_gui.c
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-07-26 03:33:12 +0000
committerbelugas <belugas@openttd.org>2006-07-26 03:33:12 +0000
commit40a89649116b2f863e9240af1a94667ef2c11275 (patch)
tree49db495ba0ae909a8a9645176b5b5b72483be02f /news_gui.c
parent4ad467cbce0947bb3f768d2b048eec683f78a84f (diff)
downloadopenttd-40a89649116b2f863e9240af1a94667ef2c11275.tar.xz
(svn r5609) CodeChange : Apply coding style
Diffstat (limited to 'news_gui.c')
-rw-r--r--news_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/news_gui.c b/news_gui.c
index 0b27ad2ad..4258c3256 100644
--- a/news_gui.c
+++ b/news_gui.c
@@ -459,7 +459,7 @@ static void MoveToNexItem(void)
switch (GetNewsDisplayValue(ni->type)) {
case 0: { /* Off - show nothing only a small reminder in the status bar */
- Window* w = FindWindowById(WC_STATUS_BAR, 0);
+ Window *w = FindWindowById(WC_STATUS_BAR, 0);
if (w != NULL) {
WP(w, def_d).data_2 = 91;
@@ -866,7 +866,7 @@ void DeleteVehicleNews(VehicleID vid, StringID news)
if (ni->flags & NF_VEHICLE &&
ni->data_a == vid &&
(news == INVALID_STRING_ID || ni->string_id == news)) {
- Window* w;
+ Window *w;
byte i;
if (_forced_news == n) MoveToNexItem();