+2003-05-19 Noah Levitt <nlevitt@columbia.edu>
+
+ * glib/gunidecomp.c: Fix off-by-one error in
+ g_unicode_canonical_ordering (bug #113260).
+
2003-05-19 Arafat Medini <lumina@silverpen.de>
* ar.po: Added ar to ALL_LINGUAS
+2003-05-19 Noah Levitt <nlevitt@columbia.edu>
+
+ * glib/gunidecomp.c: Fix off-by-one error in
+ g_unicode_canonical_ordering (bug #113260).
+
2003-05-19 Arafat Medini <lumina@silverpen.de>
* ar.po: Added ar to ALL_LINGUAS
+2003-05-19 Noah Levitt <nlevitt@columbia.edu>
+
+ * glib/gunidecomp.c: Fix off-by-one error in
+ g_unicode_canonical_ordering (bug #113260).
+
2003-05-19 Arafat Medini <lumina@silverpen.de>
* ar.po: Added ar to ALL_LINGUAS
+2003-05-19 Noah Levitt <nlevitt@columbia.edu>
+
+ * glib/gunidecomp.c: Fix off-by-one error in
+ g_unicode_canonical_ordering (bug #113260).
+
2003-05-19 Arafat Medini <lumina@silverpen.de>
* ar.po: Added ar to ALL_LINGUAS
+2003-05-19 Noah Levitt <nlevitt@columbia.edu>
+
+ * glib/gunidecomp.c: Fix off-by-one error in
+ g_unicode_canonical_ordering (bug #113260).
+
2003-05-19 Arafat Medini <lumina@silverpen.de>
* ar.po: Added ar to ALL_LINGUAS
+2003-05-19 Noah Levitt <nlevitt@columbia.edu>
+
+ * glib/gunidecomp.c: Fix off-by-one error in
+ g_unicode_canonical_ordering (bug #113260).
+
2003-05-19 Arafat Medini <lumina@silverpen.de>
* ar.po: Added ar to ALL_LINGUAS
{
gsize j;
/* Percolate item leftward through string. */
- for (j = i; j > 0; --j)
+ for (j = i + 1; j > 0; --j)
{
gunichar t;
- if (COMBINING_CLASS (string[j]) <= next)
+ if (COMBINING_CLASS (string[j - 1]) <= next)
break;
- t = string[j + 1];
- string[j + 1] = string[j];
- string[j] = t;
+ t = string[j];
+ string[j] = string[j - 1];
+ string[j - 1] = t;
swap = 1;
}
/* We're re-entering the loop looking at the old