summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-07-02 13:53:05 +0000
committeralberth <alberth@openttd.org>2010-07-02 13:53:05 +0000
commit22b9bc515730e40ad834a5295d9421afeaf8802e (patch)
tree2c953357d0f0b51c676cb6f63bf8477e3a997c80 /src/news_gui.cpp
parent3d329beb1b9a882fbc6530817a169ab6588e646f (diff)
downloadopenttd-22b9bc515730e40ad834a5295d9421afeaf8802e.tar.xz
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
Diffstat (limited to 'src/news_gui.cpp')
-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 fac55e719..7e899fe84 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -1136,7 +1136,7 @@ struct MessageOptionsWindow : Window {
if (widget >= WIDGET_NEWSOPT_START_OPTION && widget < WIDGET_NEWSOPT_END_OPTION && (widget - WIDGET_NEWSOPT_START_OPTION) % MOS_WIDG_PER_SETTING == 1) {
/* Draw the string of each setting on each button. */
int i = (widget - WIDGET_NEWSOPT_START_OPTION) / MOS_WIDG_PER_SETTING;
- DrawString(r.left, r.right, r.top + 2, this->message_opt[_news_type_data[i].display], TC_BLACK, SA_CENTER);
+ DrawString(r.left, r.right, r.top + 2, this->message_opt[_news_type_data[i].display], TC_BLACK, SA_HOR_CENTER);
}
}