diff options
| author | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-03 18:55:17 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-03 18:55:17 +0100 |
| commit | 83cbdcc8c3d1c900417457f2ef44eafde123db93 (patch) | |
| tree | 2623f1056b2191c9e48f22811018042ee0a6f55b /src/localization.c | |
| parent | 7e17e6bb7e7d7547bc01fa92090f59699e937a72 (diff) | |
fix text rendering
Diffstat (limited to 'src/localization.c')
| -rw-r--r-- | src/localization.c | 3 |
1 files changed, 1 insertions, 2 deletions
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]; |
