diff options
author | rubidium <rubidium@openttd.org> | 2009-03-21 22:00:00 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-21 22:00:00 +0000 |
commit | 900364109597f02413e2f7a59e9b4e6cc9fdf97f (patch) | |
tree | 308b7c3eda7e63a306620580ef4df5f4b99b893e /src/engine_gui.cpp | |
parent | d452a0a0ecaad276c893b62ab8f008a5af85ba82 (diff) | |
download | openttd-900364109597f02413e2f7a59e9b4e6cc9fdf97f.tar.xz |
(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.
Diffstat (limited to 'src/engine_gui.cpp')
-rw-r--r-- | src/engine_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine_gui.cpp b/src/engine_gui.cpp index 91f7dd89a..75a41768a 100644 --- a/src/engine_gui.cpp +++ b/src/engine_gui.cpp @@ -83,7 +83,7 @@ struct EnginePreviewWindow : Window { DrawStringMultiCenter(150, 44, STR_8101_WE_HAVE_JUST_DESIGNED_A, 296); SetDParam(0, engine); - DrawString(this->widget[EPW_BACKGROUND].left + 2, this->widget[EPW_BACKGROUND].right - 2, 80, STR_ENGINE_NAME, TC_BLACK); + DrawString(this->widget[EPW_BACKGROUND].left + 2, this->widget[EPW_BACKGROUND].right - 2, 80, STR_ENGINE_NAME, TC_BLACK, SA_CENTER); const DrawEngineInfo *dei = &_draw_engine_list[GetEngine(engine)->type]; |