mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(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
This commit is contained in:
parent
2a45f2bb66
commit
32077448ba
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user