summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/strgen/strgen.cpp6
-rw-r--r--src/table/strgen_tables.h (renamed from src/table/strgen.h)2
2 files changed, 4 insertions, 4 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
}
diff --git a/src/table/strgen.h b/src/table/strgen_tables.h
index da48e5341..99b412f98 100644
--- a/src/table/strgen.h
+++ b/src/table/strgen_tables.h
@@ -1,6 +1,6 @@
/* $Id$ */
-/** @file table/strgen.h Tables of commands for strgen */
+/** @file table/strgen_tables.h Tables of commands for strgen */
#include "../core/enum_type.hpp"