summaryrefslogtreecommitdiff
path: root/src/strgen/strgen.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-04-25 17:43:09 +0000
committerrubidium <rubidium@openttd.org>2014-04-25 17:43:09 +0000
commit5e90054f208028909dec2c5b3d66994fa2c189db (patch)
treeb8bc5f01a124f13cfc5a2c8407702ce93414be7c /src/strgen/strgen.h
parent6ad6845f8ca35920a7e7b61f1007ef388ccbb598 (diff)
downloadopenttd-5e90054f208028909dec2c5b3d66994fa2c189db.tar.xz
(svn r26511) -Codechange: use strecpy in game_text
Diffstat (limited to 'src/strgen/strgen.h')
-rw-r--r--src/strgen/strgen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strgen/strgen.h b/src/strgen/strgen.h
index 22b24a266..ecae71a72 100644
--- a/src/strgen/strgen.h
+++ b/src/strgen/strgen.h
@@ -72,10 +72,10 @@ struct StringReader {
/**
* Read a single line from the source of strings.
* @param buffer The buffer to read the data in to.
- * @param size The size of the buffer.
+ * @param last The last element in the buffer.
* @return The buffer, or NULL if at the end of the file.
*/
- virtual char *ReadLine(char *buffer, size_t size) = 0;
+ virtual char *ReadLine(char *buffer, const char *last) = 0;
/**
* Handle the pragma of the file.