summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2017-02-26 20:10:41 +0000
committerfrosch <frosch@openttd.org>2017-02-26 20:10:41 +0000
commita09cc8dda0008100384195dba4fd10ee5649e5e0 (patch)
treeaa22edc73ad76888eebef77128546fb3e2787000
parent2bb80d280cc39684e71be6c4c2db5bf500e10b1c (diff)
downloadopenttd-a09cc8dda0008100384195dba4fd10ee5649e5e0.tar.xz
(svn r27759) -Fix: strgen compilation
-rw-r--r--src/strgen/strgen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp
index 85b83f2b5..fa2942465 100644
--- a/src/strgen/strgen.cpp
+++ b/src/strgen/strgen.cpp
@@ -525,7 +525,7 @@ int CDECL main(int argc, char *argv[])
mkpath(pathbuf, lastof(pathbuf), src_dir, "english.txt");
/* parse master file */
- StringData data(TAB_COUNT);
+ StringData data(TEXT_TAB_END);
FileStringReader master_reader(data, pathbuf, true, false);
master_reader.ParseFile();
if (_errors != 0) return 1;
@@ -542,7 +542,7 @@ int CDECL main(int argc, char *argv[])
mkpath(pathbuf, lastof(pathbuf), src_dir, "english.txt");
- StringData data(TAB_COUNT);
+ StringData data(TEXT_TAB_END);
/* parse master file and check if target file is correct */
FileStringReader master_reader(data, pathbuf, true, false);
master_reader.ParseFile();