(svn r6484) -Undo (partly)r6289. If a grf writer wants a string been only a space, why should it be blocked?
authorbelugas
Wed, 20 Sep 2006 00:24:38 +0000
changeset 4624 378f5dfcd7a7
parent 4623 c407a6d3c09f
child 4625 3e45c59b5d64
(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
newgrf_text.c
--- a/newgrf_text.c	Tue Sep 19 19:58:45 2006 +0000
+++ b/newgrf_text.c	Wed Sep 20 00:24:38 2006 +0000
@@ -204,9 +204,6 @@
 	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.