From 83cbdcc8c3d1c900417457f2ef44eafde123db93 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Mon, 3 Feb 2020 18:55:17 +0100 Subject: fix text rendering --- src/localization.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/localization.c') diff --git a/src/localization.c b/src/localization.c index 41b1fcf..2ee39e3 100644 --- a/src/localization.c +++ b/src/localization.c @@ -24,8 +24,7 @@ mo_file load_localization_file(u8 *start_addr, u8 *end_addr, u8 *img_start, u8 * mo_entry *identifiers = (mo_entry*)(buffer + mo.header.identifier_table_offset); mo_entry *translations = (mo_entry*)(buffer + mo.header.translation_table_offset); - // skip first one because this is file information - for (s32 i = 1; i < mo.header.number_of_strings; i++) + for (s32 i = 0; i < mo.header.number_of_strings; i++) { mo_entry *entry = &identifiers[i]; mo_entry *trans = &translations[i]; -- cgit v1.2.3-70-g09d2