summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeterN <peter1138@openttd.org>2021-05-12 17:43:35 +0100
committerGitHub <noreply@github.com>2021-05-12 17:43:35 +0100
commit7b7dbbc935c32263be800c0e22831e52ace813e9 (patch)
tree3694fee9b94834535344a30b2462eb2401b392cc
parentb136e65cf9375700e77579b344f8dd86a5a61336 (diff)
downloadopenttd-7b7dbbc935c32263be800c0e22831e52ace813e9.tar.xz
Fix #9063: Caption of news window incorrectly aligned. (#9252)
-rw-r--r--src/news_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index d3ddd463f..e3fb60033 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -422,7 +422,7 @@ struct NewsWindow : Window {
{
switch (widget) {
case WID_N_CAPTION:
- DrawCaption(r, COLOUR_LIGHT_BLUE, this->owner, TC_FROMSTRING, STR_NEWS_MESSAGE_CAPTION, SA_HOR_CENTER);
+ DrawCaption(r, COLOUR_LIGHT_BLUE, this->owner, TC_FROMSTRING, STR_NEWS_MESSAGE_CAPTION, SA_CENTER);
break;
case WID_N_PANEL: