Don't eat Hangul when normalizing. (#301742, reported by Christian Biere,

2005-05-25  Matthias Clasen  <mclasen@redhat.com>

	* glib/gunidecomp.c (combine_hangul): Don't eat Hangul
	when normalizing.  (#301742, reported by Christian Biere,
	patch by Noah Levitt)
This commit is contained in:
Matthias Clasen
2005-05-25 16:03:13 +00:00
committed by Matthias Clasen
parent 0b8e42a2f5
commit 499d7937b7
5 changed files with 25 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2005-05-25 Matthias Clasen <mclasen@redhat.com>
* glib/gunidecomp.c (combine_hangul): Don't eat Hangul
when normalizing. (#301742, reported by Christian Biere,
patch by Noah Levitt)
2005-05-24 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c (print_help): If the remaining argument

View File

@@ -1,3 +1,9 @@
2005-05-25 Matthias Clasen <mclasen@redhat.com>
* glib/gunidecomp.c (combine_hangul): Don't eat Hangul
when normalizing. (#301742, reported by Christian Biere,
patch by Noah Levitt)
2005-05-24 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c (print_help): If the remaining argument

View File

@@ -1,3 +1,9 @@
2005-05-25 Matthias Clasen <mclasen@redhat.com>
* glib/gunidecomp.c (combine_hangul): Don't eat Hangul
when normalizing. (#301742, reported by Christian Biere,
patch by Noah Levitt)
2005-05-24 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c (print_help): If the remaining argument

View File

@@ -1,3 +1,9 @@
2005-05-25 Matthias Clasen <mclasen@redhat.com>
* glib/gunidecomp.c (combine_hangul): Don't eat Hangul
when normalizing. (#301742, reported by Christian Biere,
patch by Noah Levitt)
2005-05-24 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c (print_help): If the remaining argument

View File

@@ -267,7 +267,7 @@ combine_hangul (gunichar a,
return TRUE;
}
else if (0 <= SIndex && SIndex < SCount && (SIndex % TCount) == 0
&& 0 <= TIndex && TIndex <= TCount)
&& 0 < TIndex && TIndex < TCount)
{
*result = a + TIndex;
return TRUE;