mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
Fix off-by-one error in g_unicode_canonical_ordering (bug #113260).
2003-05-19 Noah Levitt <nlevitt@columbia.edu> * glib/gunidecomp.c: Fix off-by-one error in g_unicode_canonical_ordering (bug #113260).
This commit is contained in:
parent
20b6300c96
commit
6bc2ee510a
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -65,14 +65,14 @@ g_unicode_canonical_ordering (gunichar *string,
|
||||
{
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user