[tracker/collation: 7/15] libtracker-data: libicu collation based on LC_COLLATE, not LC_ALL
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/collation: 7/15] libtracker-data: libicu collation based on LC_COLLATE, not LC_ALL
- Date: Thu, 2 Sep 2010 09:00:47 +0000 (UTC)
commit 2329d999a65862eb17c78a2cf04671ec34eed179
Author: Aleksander Morgado <aleksander lanedo com>
Date: Tue Aug 24 17:36:43 2010 +0200
libtracker-data: libicu collation based on LC_COLLATE, not LC_ALL
src/libtracker-data/tracker-collation.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-collation.c b/src/libtracker-data/tracker-collation.c
index 514ebb8..183448b 100644
--- a/src/libtracker-data/tracker-collation.c
+++ b/src/libtracker-data/tracker-collation.c
@@ -115,7 +115,7 @@ tracker_collation_init (void)
{
UCollator *collator = NULL;
UErrorCode status = U_ZERO_ERROR;
- const gchar *locale = setlocale (LC_ALL, NULL);
+ const gchar *locale = setlocale (LC_COLLATE, NULL);
g_debug ("[ICU collation] Initializing collator for locale '%s'", locale);
collator = ucol_open (locale, &status);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]