diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-12-28 01:18:24 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-12-28 01:18:24 (GMT) |
commit | 513b9c9b30c8d71decced2491a91c720a52aa910 (patch) | |
tree | fa289d4556901733208a2881985e9586db92c83a /plugins/pychrysa/analysis | |
parent | 764a6782ee40c3c3a1bfb67434b33077ece4df88 (diff) |
Created Python objects for the GtkBlockView widgets and fixed some bugs.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@311 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/pychrysa/analysis')
-rw-r--r-- | plugins/pychrysa/analysis/binaries/module.c | 2 | ||||
-rw-r--r-- | plugins/pychrysa/analysis/module.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysa/analysis/binaries/module.c b/plugins/pychrysa/analysis/binaries/module.c index 084e0a4..e3daf0e 100644 --- a/plugins/pychrysa/analysis/binaries/module.c +++ b/plugins/pychrysa/analysis/binaries/module.c @@ -57,7 +57,7 @@ bool add_binaries_module_to_python_module(PyObject *super) Py_INCREF(module); ret = PyModule_AddObject(super, "pychrysalide.analysis.binaries", module); - result = (ret != 0); + result = (ret == 0); result &= register_python_file_binary(module); diff --git a/plugins/pychrysa/analysis/module.c b/plugins/pychrysa/analysis/module.c index 688ea12..05c2e2e 100644 --- a/plugins/pychrysa/analysis/module.c +++ b/plugins/pychrysa/analysis/module.c @@ -58,7 +58,7 @@ bool add_analysis_module_to_python_module(PyObject *super) Py_INCREF(module); ret = PyModule_AddObject(super, "pychrysalide.analysis", module); - result = (ret != 0); + result = (ret == 0); result &= register_python_loaded_binary(module); result &= add_binaries_module_to_python_module(module); |