aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog4
-rw-r--r--e-util/e-util.c2
-rw-r--r--e-util/e-util.c-86112
3 files changed, 6 insertions, 2 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 450b9c45b1..f794614488 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,7 @@
+2000-06-01 Dan Winship <danw@helixcode.com>
+
+ * e-util.c (g_int_compare): Duh! -1 != 1. :)
+
2000-06-01 Christopher James Lahey <clahey@helixcode.com>
* e-sexp.c (e_sexp_term_eval): g_return_val_if_fail to prevent a crash.
diff --git a/e-util/e-util.c b/e-util/e-util.c
index cac850b0d5..9540e0400b 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -43,7 +43,7 @@ g_int_compare(const void *x, const void *y)
else if ( GPOINTER_TO_INT(x) == GPOINTER_TO_INT(y) )
return 0;
else
- return -1;
+ return 1;
}
char *
diff --git a/e-util/e-util.c-8611 b/e-util/e-util.c-8611
index cac850b0d5..9540e0400b 100644
--- a/e-util/e-util.c-8611
+++ b/e-util/e-util.c-8611
@@ -43,7 +43,7 @@ g_int_compare(const void *x, const void *y)
else if ( GPOINTER_TO_INT(x) == GPOINTER_TO_INT(y) )
return 0;
else
- return -1;
+ return 1;
}
char *