diff options
author | alberth <alberth@openttd.org> | 2010-07-02 13:53:05 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-07-02 13:53:05 +0000 |
commit | 22b9bc515730e40ad834a5295d9421afeaf8802e (patch) | |
tree | 2c953357d0f0b51c676cb6f63bf8477e3a997c80 /src/newgrf_gui.cpp | |
parent | 3d329beb1b9a882fbc6530817a169ab6588e646f (diff) | |
download | openttd-22b9bc515730e40ad834a5295d9421afeaf8802e.tar.xz |
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 20c07bddf..566bcbb4e 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -394,7 +394,7 @@ struct NewGRFWindow : public QueryStringBaseWindow { case SNGRFS_NEWGRF_INFO_TITLE: /* Create the nice grayish rectangle at the details top. */ GfxFillRect(r.left + 1, r.top + 1, r.right - 1, r.bottom - 1, 157); - DrawString(r.left, r.right, (r.top + r.bottom - FONT_HEIGHT_NORMAL) / 2, STR_NEWGRF_SETTINGS_INFO_TITLE, TC_FROMSTRING, SA_CENTER); + DrawString(r.left, r.right, (r.top + r.bottom - FONT_HEIGHT_NORMAL) / 2, STR_NEWGRF_SETTINGS_INFO_TITLE, TC_FROMSTRING, SA_HOR_CENTER); break; case SNGRFS_NEWGRF_INFO: { |