From 10639cdca92f3225f2c246289402677d5af16755 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 2 Jun 2000 02:20:30 +0000 Subject: Duh! -1 != 1. :) * e-util.c (g_int_compare): Duh! -1 != 1. :) svn path=/trunk/; revision=3363 --- e-util/ChangeLog | 4 ++++ e-util/e-util.c | 2 +- e-util/e-util.c-8611 | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'e-util') 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 + + * e-util.c (g_int_compare): Duh! -1 != 1. :) + 2000-06-01 Christopher James Lahey * 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 * -- cgit v1.2.3