summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes E. Krause <j.k@eclipso.de>2019-09-12 21:46:48 +0200
committerMichael Lutz <michi@icosahedron.de>2019-09-14 17:36:34 +0200
commit1978b9122bad2cde548846e3e4daadbe517db7a3 (patch)
tree04a1cdd3656b767e79d32c3af6f533d7d17cb1fc
parent2ed88d689894814474385b58595ad041e06aebbf (diff)
downloadopenttd-1978b9122bad2cde548846e3e4daadbe517db7a3.tar.xz
Fix #7737, afbf6a5: missing return
-rw-r--r--src/news_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index 34cfa7a58..8f3dfaca2 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -678,6 +678,7 @@ static void MoveToNextNewsItem()
ShowNewspaper(ni);
break;
}
+ return;
}
}