summaryrefslogtreecommitdiffstats
path: root/gobject/pygflags.c
diff options
context:
space:
mode:
Diffstat (limited to 'gobject/pygflags.c')
-rw-r--r--gobject/pygflags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/pygflags.c b/gobject/pygflags.c
index baf5f7d..d897d8a 100644
--- a/gobject/pygflags.c
+++ b/gobject/pygflags.c
@@ -41,7 +41,7 @@ pyg_flags_compare(PyGFlags *self, PyObject *other)
if (GET_INT_VALUE(self) == GET_INT_VALUE(other))
return 0;
- else if (GET_INT_VALUE(self) > GET_INT_VALUE(other))
+ else if (GET_INT_VALUE(self) < GET_INT_VALUE(other))
return -1;
else
return 1;