diff options
author | rubidium <rubidium@openttd.org> | 2009-03-22 12:01:21 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-22 12:01:21 +0000 |
commit | 57174a9301aba626f8f25e86e93802636c4e8f45 (patch) | |
tree | 696c8445b29787af5e6368f4923172fb4f13e733 /src/misc_gui.cpp | |
parent | dfe5dad5f68250ec67a3cb5e69bc7f9f58f9a58c (diff) | |
download | openttd-57174a9301aba626f8f25e86e93802636c4e8f45.tar.xz |
(svn r15808) -Codechange: use the new DrawString API in a number of GUIs
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 091bae308..2c0688f8f 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -1422,7 +1422,7 @@ static void DrawFiosTexts(uint maxw) } if (str != STR_4006_UNABLE_TO_READ_DRIVE) SetDParam(0, tot); - DrawString(2, 37, str, TC_FROMSTRING); + DrawString(2, 2 + maxw, 37, str, TC_FROMSTRING); DrawString(2, 2 + maxw, 27, path, TC_BLACK); } |