aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-06-02 10:20:30 +0800
committerDan Winship <danw@src.gnome.org>2000-06-02 10:20:30 +0800
commit10639cdca92f3225f2c246289402677d5af16755 (patch)
treecd91a9a1c1aa5978f0abe12d51b5fb32c3d6ff7c /e-util
parentc5212445ee7afc68ab02303fa76f2366c95fa806 (diff)
downloadgsoc2013-evolution-10639cdca92f3225f2c246289402677d5af16755.tar.gz
gsoc2013-evolution-10639cdca92f3225f2c246289402677d5af16755.tar.zst
gsoc2013-evolution-10639cdca92f3225f2c246289402677d5af16755.zip
Duh! -1 != 1. :)
* e-util.c (g_int_compare): Duh! -1 != 1. :) svn path=/trunk/; revision=3363
Diffstat (limited to 'e-util')
-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 *