diff options
Diffstat (limited to 'plugins/pychrysa/gui')
-rw-r--r-- | plugins/pychrysa/gui/module.c | 2 | ||||
-rw-r--r-- | plugins/pychrysa/gui/panels/module.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysa/gui/module.c b/plugins/pychrysa/gui/module.c index cf09c44..88ea244 100644 --- a/plugins/pychrysa/gui/module.c +++ b/plugins/pychrysa/gui/module.c @@ -58,7 +58,7 @@ bool add_gui_module_to_python_module(PyObject *super) Py_INCREF(module); ret = PyModule_AddObject(super, "pychrysalide.gui", module); - result = (ret != 0); + result = (ret == 0); if (ret != 0) /* ... */; diff --git a/plugins/pychrysa/gui/panels/module.c b/plugins/pychrysa/gui/panels/module.c index 7c26dac..9427f22 100644 --- a/plugins/pychrysa/gui/panels/module.c +++ b/plugins/pychrysa/gui/panels/module.c @@ -57,7 +57,7 @@ bool add_gui_panels_module_to_python_module(PyObject *super) Py_INCREF(module); ret = PyModule_AddObject(super, "pychrysalide.gui.panels", module); - result = (ret != 0); + result = (ret == 0); if (ret != 0) /* ... */; |