mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-28 01:57:14 +02: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:
@@ -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>
|
2003-05-19 Arafat Medini <lumina@silverpen.de>
|
||||||
|
|
||||||
* ar.po: Added ar to ALL_LINGUAS
|
* 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>
|
2003-05-19 Arafat Medini <lumina@silverpen.de>
|
||||||
|
|
||||||
* ar.po: Added ar to ALL_LINGUAS
|
* 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>
|
2003-05-19 Arafat Medini <lumina@silverpen.de>
|
||||||
|
|
||||||
* ar.po: Added ar to ALL_LINGUAS
|
* 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>
|
2003-05-19 Arafat Medini <lumina@silverpen.de>
|
||||||
|
|
||||||
* ar.po: Added ar to ALL_LINGUAS
|
* 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>
|
2003-05-19 Arafat Medini <lumina@silverpen.de>
|
||||||
|
|
||||||
* ar.po: Added ar to ALL_LINGUAS
|
* 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>
|
2003-05-19 Arafat Medini <lumina@silverpen.de>
|
||||||
|
|
||||||
* ar.po: Added ar to ALL_LINGUAS
|
* ar.po: Added ar to ALL_LINGUAS
|
||||||
|
@@ -65,14 +65,14 @@ g_unicode_canonical_ordering (gunichar *string,
|
|||||||
{
|
{
|
||||||
gsize j;
|
gsize j;
|
||||||
/* Percolate item leftward through string. */
|
/* Percolate item leftward through string. */
|
||||||
for (j = i; j > 0; --j)
|
for (j = i + 1; j > 0; --j)
|
||||||
{
|
{
|
||||||
gunichar t;
|
gunichar t;
|
||||||
if (COMBINING_CLASS (string[j]) <= next)
|
if (COMBINING_CLASS (string[j - 1]) <= next)
|
||||||
break;
|
break;
|
||||||
t = string[j + 1];
|
t = string[j];
|
||||||
string[j + 1] = string[j];
|
string[j] = string[j - 1];
|
||||||
string[j] = t;
|
string[j - 1] = t;
|
||||||
swap = 1;
|
swap = 1;
|
||||||
}
|
}
|
||||||
/* We're re-entering the loop looking at the old
|
/* We're re-entering the loop looking at the old
|
||||||
|
Reference in New Issue
Block a user