From e21b7634bfbe680308344afe04e070ce91356754 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 17 Oct 2007 20:09:16 +0000 Subject: (svn r11287) -Codechange: add support for pushing paramaters into NewIndustries' error messages. Patch by Csaboka. --- src/industry_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/industry_gui.cpp') 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(); } -- cgit v1.2.3-54-g00ecf