diff options
Diffstat (limited to 'plugins/dex/dex-int.c')
-rw-r--r-- | plugins/dex/dex-int.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/dex/dex-int.c b/plugins/dex/dex-int.c index e3121b6..287ec7a 100644 --- a/plugins/dex/dex-int.c +++ b/plugins/dex/dex-int.c @@ -145,6 +145,7 @@ bool read_dex_string_id_item(const GDexFormat *format, vmpa2t *pos, string_id_it * * * Paramètres : format = informations chargées à consulter. * * pos = position de début de lecture. [OUT] * +* inter = position intermédiaire à conserver. [OUT] * * str_data = structure lue à retourner. [OUT] * * * * Description : Procède à la lecture de proriétés de chaîne DEX. * @@ -155,7 +156,7 @@ bool read_dex_string_id_item(const GDexFormat *format, vmpa2t *pos, string_id_it * * ******************************************************************************/ -bool read_dex_string_data_item(const GDexFormat *format, vmpa2t *pos, string_data_item *str_data) +bool read_dex_string_data_item(const GDexFormat *format, vmpa2t *pos, vmpa2t *inter, string_data_item *str_data) { bool result; /* Bilan à retourner */ GBinContent *content; /* Contenu binaire à lire */ @@ -166,6 +167,9 @@ bool read_dex_string_data_item(const GDexFormat *format, vmpa2t *pos, string_dat if (result) { + if (inter != NULL) + copy_vmpa(inter, pos); + str_data->data = g_binary_content_get_raw_access(content, pos, str_data->utf16_size); result = (str_data->data != NULL); } |