Don't eat Hangul when normalizing. (#301742, reported by Christian Biere,
authorMatthias Clasen <mclasen@redhat.com>
Wed, 25 May 2005 16:03:13 +0000 (16:03 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 25 May 2005 16:03:13 +0000 (16:03 +0000)
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)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-8
glib/gunidecomp.c

index 31cd865..b3cde02 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 31cd865..b3cde02 100644 (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
index 31cd865..b3cde02 100644 (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
index 31cd865..b3cde02 100644 (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
index 3bef4c8..fb3bf3d 100644 (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;