From 939c31884b2f690f09589c1b94e3d228e41cead5 Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Tue, 20 May 2003 03:38:48 +0000 Subject: [PATCH] Fix cut-and-pasto: g_unichar_break_type should return 2003-05-19 Noah Levitt * glib/gunibreak.c: Fix cut-and-pasto: g_unichar_break_type should return G_UNICODE_BREAK_UNKNOWN if the character is greater than G_UNICODE_LAST_CHAR. --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-12 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ glib/gunibreak.c | 2 +- 7 files changed, 37 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9c15aff..f0561aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2003-05-19 Noah Levitt + * glib/gunibreak.c: Fix cut-and-pasto: g_unichar_break_type should + return G_UNICODE_BREAK_UNKNOWN if the character is greater than + G_UNICODE_LAST_CHAR. + +2003-05-19 Noah Levitt + * glib/glist.c: Remove unused function g_list_sort2 (bug #113203). 2003-05-19 Noah Levitt diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 9c15aff..f0561aa 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,11 @@ 2003-05-19 Noah Levitt + * glib/gunibreak.c: Fix cut-and-pasto: g_unichar_break_type should + return G_UNICODE_BREAK_UNKNOWN if the character is greater than + G_UNICODE_LAST_CHAR. + +2003-05-19 Noah Levitt + * glib/glist.c: Remove unused function g_list_sort2 (bug #113203). 2003-05-19 Noah Levitt diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 9c15aff..f0561aa 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,5 +1,11 @@ 2003-05-19 Noah Levitt + * glib/gunibreak.c: Fix cut-and-pasto: g_unichar_break_type should + return G_UNICODE_BREAK_UNKNOWN if the character is greater than + G_UNICODE_LAST_CHAR. + +2003-05-19 Noah Levitt + * glib/glist.c: Remove unused function g_list_sort2 (bug #113203). 2003-05-19 Noah Levitt diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 9c15aff..f0561aa 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,5 +1,11 @@ 2003-05-19 Noah Levitt + * glib/gunibreak.c: Fix cut-and-pasto: g_unichar_break_type should + return G_UNICODE_BREAK_UNKNOWN if the character is greater than + G_UNICODE_LAST_CHAR. + +2003-05-19 Noah Levitt + * glib/glist.c: Remove unused function g_list_sort2 (bug #113203). 2003-05-19 Noah Levitt diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 9c15aff..f0561aa 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,11 @@ 2003-05-19 Noah Levitt + * glib/gunibreak.c: Fix cut-and-pasto: g_unichar_break_type should + return G_UNICODE_BREAK_UNKNOWN if the character is greater than + G_UNICODE_LAST_CHAR. + +2003-05-19 Noah Levitt + * glib/glist.c: Remove unused function g_list_sort2 (bug #113203). 2003-05-19 Noah Levitt diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 9c15aff..f0561aa 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,11 @@ 2003-05-19 Noah Levitt + * glib/gunibreak.c: Fix cut-and-pasto: g_unichar_break_type should + return G_UNICODE_BREAK_UNKNOWN if the character is greater than + G_UNICODE_LAST_CHAR. + +2003-05-19 Noah Levitt + * glib/glist.c: Remove unused function g_list_sort2 (bug #113203). 2003-05-19 Noah Levitt diff --git a/glib/gunibreak.c b/glib/gunibreak.c index 2875706..2147c52 100644 --- a/glib/gunibreak.c +++ b/glib/gunibreak.c @@ -31,7 +31,7 @@ ? (break_property_table[Page] - G_UNICODE_MAX_TABLE_INDEX) \ : (break_property_data[break_property_table[Page]][Char])) -#define PROP(Char) (((Char) > (G_UNICODE_LAST_CHAR)) ? G_UNICODE_UNASSIGNED : TPROP ((Char) >> 8, (Char) & 0xff)) +#define PROP(Char) (((Char) > (G_UNICODE_LAST_CHAR)) ? G_UNICODE_BREAK_UNKNOWN : TPROP ((Char) >> 8, (Char) & 0xff)) /** * g_unichar_break_type: -- 2.7.4