summaryrefslogtreecommitdiff
path: root/src/newgrf_text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_text.cpp')
-rw-r--r--src/newgrf_text.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp
index 6c0507d3a..9edd243da 100644
--- a/src/newgrf_text.cpp
+++ b/src/newgrf_text.cpp
@@ -179,7 +179,7 @@ char *TranslateTTDPatchCodes(uint32 grfid, const char *str)
case 0x98: d += Utf8Encode(d, SCC_BLACK); break;
case 0x9A:
switch (*str++) {
- case 0: /* FALL THROUGH */
+ case 0: // FALL THROUGH
case 1:
d += Utf8Encode(d, SCC_NEWGRF_PRINT_QWORD_CURRENCY);
break;
@@ -343,7 +343,7 @@ const char *GetGRFStringPtr(uint16 stringid)
/* Remember this grfid in case the string has included text */
_last_grfid = _grf_text[stringid].grfid;
- /*Search the list of lang-strings of this stringid for current lang */
+ /* Search the list of lang-strings of this stringid for current lang */
for (search_text = _grf_text[stringid].textholder; search_text != NULL; search_text = search_text->next) {
if (search_text->langid == _currentLangID) {
return search_text->text;