summaryrefslogtreecommitdiff
path: root/src/strgen
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-04-23 14:06:57 +0000
committerrubidium <rubidium@openttd.org>2009-04-23 14:06:57 +0000
commit1f25d9126ff91e9221c981bb41aad328671a4254 (patch)
tree87d3435114bc5f75083d858d90a7135d38d8994f /src/strgen
parent85ca163be20f0e3eb41cdcd41234723c77ade723 (diff)
downloadopenttd-1f25d9126ff91e9221c981bb41aad328671a4254.tar.xz
(svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typo
Diffstat (limited to 'src/strgen')
-rw-r--r--src/strgen/strgen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp
index 4da6a078f..316b98ce0 100644
--- a/src/strgen/strgen.cpp
+++ b/src/strgen/strgen.cpp
@@ -32,7 +32,7 @@
#define stderr stdout
#endif /* __MORPHOS__ */
-#include "../table/strgen.h"
+#include "../table/strgen_tables.h"
/* Compiles a list of strings into a compiled string list */
@@ -1217,9 +1217,9 @@ int CDECL main(int argc, char *argv[])
} else if (cs->proc == EmitSetXY) {
flags = '2'; // Command needs two parameters
} else if (cs->proc == EmitGender) {
- flags = 'g'; // Command needs number of parameters defined by plural value
+ flags = 'g'; // Command needs number of parameters defined by number of genders
} else if (cs->proc == EmitPlural) {
- flags = 'p'; // Command needs number of parameters defined by number of cases
+ flags = 'p'; // Command needs number of parameters defined by plural value
} else {
flags = '0'; // Command needs no parameters
}