Commit 0527aaa3 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Lars-Peter Clausen

Fix wrong strcmp evaluation.

2008-08-24  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/pygimp-pdb.c (pdb_getattro): Fix wrong strcmp
	evaluation.


svn path=/trunk/; revision=26745
parent c796bca9
2008-08-24 Lars-Peter Clausen <lars@metafoo.de>
* plug-ins/pygimp/pygimp-pdb.c (pdb_getattro): Fix wrong strcmp
evaluation.
2008-08-24 Lars-Peter Clausen <lars@metafoo.de>
* plug-ins/pygimp/pygimp-drawable.c (drw_transform_rotate,
......
......@@ -711,7 +711,7 @@ pdb_getattro(PyGimpPDB *self, PyObject *attr)
}
if (attr_name[0] == '_') {
if (strcmp(attr_name, "__members__")) {
if (!strcmp(attr_name, "__members__")) {
return build_procedure_list();
} else {
return PyObject_GenericGetAttr((PyObject *)self, attr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment