summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/language.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/language.c b/apps/language.c
index 70549e194d..fea4fb3264 100644
--- a/apps/language.c
+++ b/apps/language.c
@@ -82,7 +82,7 @@ int lang_load(const char *filename, const unsigned char *builtin,
foffset = (sub_header[4]<<8) | sub_header[5];
if(lang_size <= max_lang_size) {
/* initialize with builtin */
- lang_init(builtin, dest, num_strings);
+ lang_init(builtin, dest, max_id);
lseek(fd, foffset, SEEK_SET);
read(fd, buffer, lang_size);