Correct source and destination charset parameter order in g_convert()
authorTor Lillqvist <tml@iki.fi>
Thu, 19 Aug 2004 23:38:38 +0000 (23:38 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Thu, 19 Aug 2004 23:38:38 +0000 (23:38 +0000)
2004-08-19  Tor Lillqvist  <tml@iki.fi>

* glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct
source and destination charset parameter order in g_convert()
call. (#150394, possibly also #141124)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gunicollate.c

index 5beac52..5d82166 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-08-19  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct
+       source and destination charset parameter order in g_convert()
+       call. (#150394, possibly also #141124)
+
 2004-08-20  Jon K Hellan  <hellan@acm.org>
 
        * glib/goption.h: Remove trailing commas.
index 5beac52..5d82166 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-19  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct
+       source and destination charset parameter order in g_convert()
+       call. (#150394, possibly also #141124)
+
 2004-08-20  Jon K Hellan  <hellan@acm.org>
 
        * glib/goption.h: Remove trailing commas.
index 5beac52..5d82166 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-19  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct
+       source and destination charset parameter order in g_convert()
+       call. (#150394, possibly also #141124)
+
 2004-08-20  Jon K Hellan  <hellan@acm.org>
 
        * glib/goption.h: Remove trailing commas.
index 5beac52..5d82166 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-19  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct
+       source and destination charset parameter order in g_convert()
+       call. (#150394, possibly also #141124)
+
 2004-08-20  Jon K Hellan  <hellan@acm.org>
 
        * glib/goption.h: Remove trailing commas.
index 5beac52..5d82166 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-19  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Correct
+       source and destination charset parameter order in g_convert()
+       call. (#150394, possibly also #141124)
+
 2004-08-20  Jon K Hellan  <hellan@acm.org>
 
        * glib/goption.h: Remove trailing commas.
index 63dc730..9ca3a58 100644 (file)
@@ -84,8 +84,8 @@ g_utf8_collate (const gchar *str1,
     }
   else
     {
-      gchar *str1_locale = g_convert (str1_norm, -1, "UTF-8", charset, NULL, NULL, NULL);
-      gchar *str2_locale = g_convert (str2_norm, -1, "UTF-8", charset, NULL, NULL, NULL);
+      gchar *str1_locale = g_convert (str1_norm, -1, charset, "UTF-8", NULL, NULL, NULL);
+      gchar *str2_locale = g_convert (str2_norm, -1, charset, "UTF-8", NULL, NULL, NULL);
 
       if (str1_locale && str2_locale)
        result =  strcoll (str1_locale, str2_locale);
@@ -226,7 +226,7 @@ g_utf8_collate_key (const gchar *str,
     }
   else
     {
-      gchar *str_locale = g_convert (str_norm, -1, "UTF-8", charset, NULL, NULL, NULL);
+      gchar *str_locale = g_convert (str_norm, -1, charset, "UTF-8", NULL, NULL, NULL);
 
       if (str_locale)
        {