summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-11-23 13:24:31 +0000
committerrubidium <rubidium@openttd.org>2013-11-23 13:24:31 +0000
commit3bae1522c964b01344c358e2157da7f52fd98d4e (patch)
treebbca8c37605432e7132e307d7f3d02c9a8bf3753
parent3b2a92ea97f56cdd2d1870c1ae4afeae01d3f48e (diff)
downloadopenttd-3bae1522c964b01344c358e2157da7f52fd98d4e.tar.xz
(svn r26063) -Fix (r26062): a few tabs too much
-rw-r--r--src/strings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index c3916dcf7..3f35c5c8f 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -1765,8 +1765,8 @@ bool ReadLanguagePack(const LanguageMetadata *lang)
for (uint i = 0; i < TAB_COUNT; i++) {
uint16 num = lang_pack->offsets[i];
if (num > TAB_SIZE) {
- free(lang_pack);
- return false;
+ free(lang_pack);
+ return false;
}
_langtab_start[i] = count;