[evolution-data-server/openismus-work-master: 55/73] EBookBackendSqliteDB: Fixed a nasty bug causing descending order to not work properly in some cases.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work-master: 55/73] EBookBackendSqliteDB: Fixed a nasty bug causing descending order to not work properly in some cases.
- Date: Tue, 9 Jul 2013 20:41:42 +0000 (UTC)
commit 1329486575c9d43483d64c150c5173b987f16318
Author: Tristan Van Berkom <tristanvb openismus com>
Date: Mon Jun 17 15:41:53 2013 +0900
EBookBackendSqliteDB: Fixed a nasty bug causing descending order to not work properly in some cases.
.../libedata-book/e-book-backend-sqlitedb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/addressbook/libedata-book/e-book-backend-sqlitedb.c
b/addressbook/libedata-book/e-book-backend-sqlitedb.c
index ca99177..062e554 100644
--- a/addressbook/libedata-book/e-book-backend-sqlitedb.c
+++ b/addressbook/libedata-book/e-book-backend-sqlitedb.c
@@ -5425,8 +5425,8 @@ ebsdb_cursor_set_state (EBookBackendSqliteDB *ebsdb,
#define GREATER_OR_LESS(cursor, index, reverse) \
(reverse ? \
- (((EbSdbCursor *)cursor)->sort_types[index == E_BOOK_SORT_ASCENDING] ? '>' : '<') : \
- (((EbSdbCursor *)cursor)->sort_types[index == E_BOOK_SORT_ASCENDING] ? '<' : '>'))
+ (((EbSdbCursor *)cursor)->sort_types[index] == E_BOOK_SORT_ASCENDING ? '<' : '>') : \
+ (((EbSdbCursor *)cursor)->sort_types[index] == E_BOOK_SORT_ASCENDING ? '>' : '<'))
static gchar *
ebsdb_cursor_constraints (EBookBackendSqliteDB *ebsdb,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]