summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-10-01 16:14:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-10-01 16:14:47 (GMT)
commit6784e2ad98fa62cb2e7ac10a30a602c296a7b266 (patch)
tree028ddc06d7c4ac1ee0c4a4fa2cc57a04681bb015 /src/format
parentd51fef170f00602744e55a8fdb21a3c7d196696a (diff)
Provided the real number of loaded classes instead of 0.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@582 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format')
-rwxr-xr-xsrc/format/dex/dex.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/format/dex/dex.c b/src/format/dex/dex.c
index 35ffe47..afd9db1 100755
--- a/src/format/dex/dex.c
+++ b/src/format/dex/dex.c
@@ -514,11 +514,7 @@ char *_g_data_type_to_string(const GDataType *type, bool simple)
size_t g_dex_format_count_classes(const GDexFormat *format)
{
- return 0;
-
-#if 0
- return format->classes_count;
-#endif
+ return format->header.class_defs_size;
}