summaryrefslogtreecommitdiff
path: root/src/core/formats.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/formats.c')
-rw-r--r--src/core/formats.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/formats.c b/src/core/formats.c
index 5543331..c6b664c 100644
--- a/src/core/formats.c
+++ b/src/core/formats.c
@@ -368,6 +368,7 @@ FormatMatchStatus find_matching_format(GBinContent *content, GExeFormat *parent,
* *
* Paramètres : key = nom technique du processeur recherché. *
* content = contenu binaire pré-chargé à traiter. *
+* parent = contenu binaire principal éventuel déjà chargé. *
* *
* Description : Charge le format binaire correspondant à un type. *
* *
@@ -389,7 +390,12 @@ GBinFormat *load_new_named_format(const char *key, GBinContent *content, GExeFor
if (def == NULL)
result = NULL;
else
- result = def->func(content, parent);
+ {
+ extern GtkStatusStack *get_global_status(void);
+
+ result = def->func(content, parent, get_global_status());
+
+ }
g_rw_lock_reader_unlock(&_formats_lock);