(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 aba74bb14e51
parent 4623 06f1567c8904
child 4625 f365b341a330
(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.