summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/analysis/routine.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e85ea21..5c8ae4c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
10-06-06 Cyrille Bagard <nocbos@gmail.com>
+ * src/analysis/routine.c:
+ Fix a bug: forget the return type when dealing with converting options.
+
+10-06-06 Cyrille Bagard <nocbos@gmail.com>
+
* pixmaps/Makefile.am:
Add more pictures to EXTRA_DIST and oidapix_DATA.
diff --git a/src/analysis/routine.c b/src/analysis/routine.c
index 8db366d..7709fa4 100644
--- a/src/analysis/routine.c
+++ b/src/analysis/routine.c
@@ -640,7 +640,7 @@ char *_g_binary_routine_to_string(const GBinRoutine *routine, Routine2StringOpti
if (routine->ret_type == NULL) result = strdup("??? ");
else
{
- result = g_openida_type_to_string(routine->ret_type);
+ result = _g_openida_type_to_string(routine->ret_type, !(options & RSO_LONG_TYPE));
if (!g_openida_type_is_pointer(routine->ret_type, true))
result = stradd(result, " ");
}