summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-20 13:15:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-20 13:15:42 +0300
commit56f50b3d7c653966b5bb38a6d3cfa3fef60ebcb8 (patch)
tree3778c07ac16c6bfc1577fb3d85321b28a86131ec /src/map
parent6e565a64b6a89e943c95e5b001aadd38727abe01 (diff)
downloadevol-hercules-56f50b3d7c653966b5bb38a6d3cfa3fef60ebcb8.tar.gz
evol-hercules-56f50b3d7c653966b5bb38a6d3cfa3fef60ebcb8.tar.bz2
evol-hercules-56f50b3d7c653966b5bb38a6d3cfa3fef60ebcb8.tar.xz
evol-hercules-56f50b3d7c653966b5bb38a6d3cfa3fef60ebcb8.zip
map: translate also english texts, this will remove #0 and #1 in output.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/lang.c b/src/map/lang.c
index 45be125..ffc682d 100644
--- a/src/map/lang.c
+++ b/src/map/lang.c
@@ -137,7 +137,7 @@ static int langsdb_readdb (void)
strings = aCalloc (lang_num, sizeof(int*));
sz = strlen(line1) + 1;
strings[0] = aCalloc (sz < 24 ? 24 : sz, sizeof(char));
- strcpy (strings[0], line1);
+ strcpy (strings[0], line2);
strdb_put(translate_db, aStrdup (line1), strings);
}
else