summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-09-20 00:24:38 +0000
committerbelugas <belugas@openttd.org>2006-09-20 00:24:38 +0000
commit32077448ba40487241b51f84efd1db26e0448e6c (patch)
tree42d2f3232cd3fe581b465a1025586282c41e4241
parent2a45f2bb66ca464e9c47c46ff317016dbb290fca (diff)
downloadopenttd-32077448ba40487241b51f84efd1db26e0448e6c.tar.xz
(svn r6484) -Undo (partly)r6289. If a grf writer wants a string been only a space, why should it be blocked?
It is the wrong test at the wrong place
-rw-r--r--newgrf_text.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/newgrf_text.c b/newgrf_text.c
index 00426767a..15a3a27ff 100644
--- a/newgrf_text.c
+++ b/newgrf_text.c
@@ -204,9 +204,6 @@ StringID AddGRFString(uint32 grfid, uint16 stringid, byte langid_to_add, bool ne
GRFText *newtext;
uint id;
- /* We do not allow strings of only one char or even fewer*/
- if (strlen(text_to_add) <= 1) return STR_EMPTY;
-
/* When working with the old language scheme (grf_version is less than 7) and
* English or American is among the set bits, simply add it as English in
* the new scheme, i.e. as langid = 1.