summaryrefslogtreecommitdiff
path: root/src/format/dex/dex.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-10-28 15:59:12 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-10-28 15:59:12 (GMT)
commitc3aba0893c29cc098c029306fd7a4c8c1fa2eee2 (patch)
tree49432db1af3115758a216ac5bfd92d5935929858 /src/format/dex/dex.c
parent55866b34f5cff022a465d58f808450f25f354218 (diff)
Updated the code of the old panel and displayed found strings again.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@276 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/dex/dex.c')
-rwxr-xr-xsrc/format/dex/dex.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/format/dex/dex.c b/src/format/dex/dex.c
index b286f7c..f0fb421 100755
--- a/src/format/dex/dex.c
+++ b/src/format/dex/dex.c
@@ -197,6 +197,14 @@ GBinFormat *g_dex_format_new(const bin_t *content, off_t length)
g_dex_format_find_all_sources(result);
+
+ if (!find_all_dex_strings(result))
+ {
+ g_object_unref(G_OBJECT(result));
+ return NULL;
+ }
+
+
return G_BIN_FORMAT(result);
}