summaryrefslogtreecommitdiff
path: root/news_gui.c
diff options
context:
space:
mode:
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();