summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-07-24 09:14:36 +0000
committeralberth <alberth@openttd.org>2009-07-24 09:14:36 +0000
commitfeb83756a24f78a5ae61c23fec182c0ebb865631 (patch)
treec8ff200aa4da50e636be817cfa2e2797d859b93e /src
parent803cf87885aa8b6382996940d6418250889b678c (diff)
downloadopenttd-feb83756a24f78a5ae61c23fec182c0ebb865631.tar.xz
(svn r16935) -Codechange: Improve wording of .lng file error message (found by cmoiromain).
Diffstat (limited to 'src')
-rw-r--r--src/strings.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 9bf4218c4..25699ad07 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -142,10 +142,7 @@ static char *GetStringWithArgs(char *buffr, uint string, int64 *argv, const char
}
if (index >= _langtab_num[tab]) {
- error(
- "String 0x%X is invalid. "
- "Probably because an old version of the .lng file.\n", string
- );
+ error("String 0x%X is invalid. You are probably using an old version of the .lng file.\n", string);
}
return FormatString(buffr, GetStringPtr(GB(string, 0, 16)), argv, GB(string, 24, 8), last);