mirror of https://github.com/GNOME/gimp.git
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
This commit is contained in:
parent
c796bca92f
commit
0527aaa3e4
|
@ -1,3 +1,8 @@
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue