Rework initial character check in TranslateStringCodes
commit9bcc58637f1e7242d0d17a14dc37ccf4e0cd1ff6
authorcirdan <cirdansw@gmail.com>
Fri, 10 Nov 2017 20:33:18 +0000 (10 21:33 +0100)
committercirdan <cirdansw@gmail.com>
Fri, 10 Nov 2017 20:33:18 +0000 (10 21:33 +0100)
tree6c007de05f2c01622b8c7a49f1dc9336218a71de
parent39244e550f3c429cb0365a5f9a3858c65118f075
Rework initial character check in TranslateStringCodes

After last commit, we can rework the initial part of the character
loop in TranslateStringCodes to share the IsPrintable check.
src/newgrf_text.cpp