diff options
author | rubidium <rubidium@openttd.org> | 2007-10-17 20:09:16 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-10-17 20:09:16 +0000 |
commit | e21b7634bfbe680308344afe04e070ce91356754 (patch) | |
tree | 56fa2e827c98faaabb1202da34159d2fe15e61db /src/industry_gui.cpp | |
parent | 5e347f80e1aa9ad6a4e8bee0a983701841eb5329 (diff) | |
download | openttd-e21b7634bfbe680308344afe04e070ce91356754.tar.xz |
(svn r11287) -Codechange: add support for pushing paramaters into NewIndustries' error messages. Patch by Csaboka.
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r-- | src/industry_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index 98d9b268d..341ff1e2a 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -503,7 +503,7 @@ static void IndustryViewWndProc(Window *w, WindowEvent *e) if (message != STR_NULL && message != STR_UNDEFINED) { y += 10; - PrepareTextRefStackUsage(); + PrepareTextRefStackUsage(6); DrawString(2, y, message, 0); StopTextRefStackUsage(); } |