# HG changeset patch # User belugas # Date 2006-09-20 00:24:38 # Node ID 1a07a53b269698acc319feeda1f82b8a35c0a8ed # Parent 16c6cd4fd786f69385ed68de00c184fa9cb96011 (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 diff --git a/newgrf_text.c b/newgrf_text.c --- a/newgrf_text.c +++ b/newgrf_text.c @@ -204,9 +204,6 @@ StringID AddGRFString(uint32 grfid, uint 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.