From af7d2ea327d27200ad151d3e1ba0ee6d51b1ff62 Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Sun, 6 Jun 2010 14:13:36 +0000
Subject: Fixed a bug: forget the return type when dealing with converting
 options.

git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@166 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
---
 ChangeLog              | 5 +++++
 src/analysis/routine.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

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, " ");
             }
-- 
cgit v0.11.2-87-g4458