diff options
author | rubidium <rubidium@openttd.org> | 2009-03-22 14:39:20 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-22 14:39:20 +0000 |
commit | 9038733f1aa4f3203b229ac6350833f5af5b016a (patch) | |
tree | 297239fff1bd8ddcea1c5fc7722ebca4d3e9f3e0 /src/signs_gui.cpp | |
parent | 22d4270ea8664975384198353c40f4fc859dd5f1 (diff) | |
download | openttd-9038733f1aa4f3203b229ac6350833f5af5b016a.tar.xz |
(svn r15812) -Codechange: use the new DrawString API in another set of GUIs
Diffstat (limited to 'src/signs_gui.cpp')
-rw-r--r-- | src/signs_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/signs_gui.cpp b/src/signs_gui.cpp index 43407f636..3ed9f395a 100644 --- a/src/signs_gui.cpp +++ b/src/signs_gui.cpp @@ -96,7 +96,7 @@ struct SignListWindow : Window, SignList { /* No signs? */ int y = 16; // offset from top of widget if (this->vscroll.count == 0) { - DrawString(2, y, STR_304A_NONE, TC_FROMSTRING); + DrawString(2, 346, y, STR_304A_NONE, TC_FROMSTRING); return; } @@ -107,7 +107,7 @@ struct SignListWindow : Window, SignList { if (si->owner != OWNER_NONE) DrawCompanyIcon(si->owner, 4, y + 1); SetDParam(0, si->index); - DrawString(22, y, STR_SIGN_NAME, TC_YELLOW); + DrawString(22, 346, y, STR_SIGN_NAME, TC_YELLOW); y += 10; } } |