summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newgrf.c')
-rw-r--r--newgrf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf.c b/newgrf.c
index 83b4a919b..99f70d37e 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -1960,7 +1960,7 @@ static void FeatureNewName(byte *buf, int len)
for (; id < endid && len > 0; id++) {
size_t ofs = strlen(name) + 1;
- if (ofs > 1 && ofs < 128) {
+ if (ofs < 128) {
DEBUG(grf, 8) ("FeatureNewName: %d <- %s", id, name);
switch (feature) {