summaryrefslogtreecommitdiff
path: root/src/newgrf_text.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2014-01-12 18:00:02 +0000
committerfrosch <frosch@openttd.org>2014-01-12 18:00:02 +0000
commit477c15383d00caaf62bc554d6ff8890adebce071 (patch)
tree07ed9c1c633a4250b0d59991fb9a6e354f87d109 /src/newgrf_text.h
parent5ab39cc65176bc150625995a6a639625a7b1f579 (diff)
downloadopenttd-477c15383d00caaf62bc554d6ff8890adebce071.tar.xz
(svn r26239) -Fix: Check that there is space left in the string parameter array, before pushing NewGRF parameters to it.
Diffstat (limited to 'src/newgrf_text.h')
-rw-r--r--src/newgrf_text.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_text.h b/src/newgrf_text.h
index 081e7e36c..4b7f4e2df 100644
--- a/src/newgrf_text.h
+++ b/src/newgrf_text.h
@@ -41,7 +41,7 @@ void RewindTextRefStack();
bool UsingNewGRFTextStack();
struct TextRefStack *CreateTextRefStackBackup();
void RestoreTextRefStackBackup(struct TextRefStack *backup);
-uint RemapNewGRFStringControlCode(uint scc, char *buf_start, char **buff, const char **str, int64 *argv, bool modify_argv);
+uint RemapNewGRFStringControlCode(uint scc, char *buf_start, char **buff, const char **str, int64 *argv, uint argv_size, bool modify_argv);
StringID TTDPStringIDToOTTDStringIDMapping(StringID string);