diff options
| author | Tristan Van Berkom <tristanvb@openismus.com> | 2013-11-29 22:02:50 +0900 |
|---|---|---|
| committer | Tristan Van Berkom <tristanvb@openismus.com> | 2013-11-29 22:08:04 +0900 |
| commit | 5be0a9210fc90411cc61ea20b9ad30352b5a5dc5 (patch) | |
| tree | a821a9587e445f1ff77eb4a682241a0ed26238ba | |
| parent | dd9b206963e6ad685c36bf3f2630e02cadae4ded (diff) | |
| download | evolution-data-server-5be0a9210fc90411cc61ea20b9ad30352b5a5dc5.tar.gz | |
EBookClient: Fixed e_book_client_cursor_get_contact_alphabetic_index()
Fixed the above function to not pass NULL to e_collator_get_index()
| -rw-r--r-- | addressbook/libebook/e-book-client-cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/libebook/e-book-client-cursor.c b/addressbook/libebook/e-book-client-cursor.c index fd96ad0e2..58b596032 100644 --- a/addressbook/libebook/e-book-client-cursor.c +++ b/addressbook/libebook/e-book-client-cursor.c @@ -2778,7 +2778,7 @@ e_book_client_cursor_get_contact_alphabetic_index (EBookClientCursor *cursor, */ field = e_contact_field_id (priv->sort_fields[0]); value = e_contact_get_const (contact, field); - index = e_collator_get_index (priv->collator, value); + index = e_collator_get_index (priv->collator, value ? value : ""); } return index; |
