summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/industry_gui.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index db772ca7b..5baecc098 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -567,8 +567,10 @@ public:
y += 10;
PrepareTextRefStackUsage(6);
- /* Use all the available space left from where we stand up to the end of the window */
- y = DrawStringMultiLine(wi->left + 2, wi->right -2, y, wi->bottom, message);
+ /* Use all the available space left from where we stand up to the
+ * end of the window. We ALSO enlarge the window if needed, so we
+ * can 'go' wild with the bottom of the window. */
+ y = DrawStringMultiLine(wi->left + 2, wi->right - 2, y, UINT16_MAX, message);
StopTextRefStackUsage();
}
}