From 342177eeba4f8eb12a9df03711f095c2e6a4175d Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Tue, 14 Jun 2005 22:23:40 +0000 Subject: Fix some missing case variants in the switch statement. (#169852, Morten 2005-06-14 Owen Taylor * pango/pango-utils.c (pango_parse_style): Fix some missing case variants in the switch statement. (#169852, Morten Welinder) --- ChangeLog | 6 ++++++ ChangeLog.pre-1-10 | 6 ++++++ pango/pango-utils.c | 2 ++ 3 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 695c6215..f4f61ec8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2005-06-14 Owen Taylor + * pango/pango-utils.c (pango_parse_style): Fix some + missing case variants in the switch statement. + (#169852, Morten Welinder) + +2005-06-14 Owen Taylor + * pango/pango-script-table.h (struct): Hand edit to fix a bug in the 4.0.0 data tables. (#173096, Sukhjinder Sidhu) diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 695c6215..f4f61ec8 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,5 +1,11 @@ 2005-06-14 Owen Taylor + * pango/pango-utils.c (pango_parse_style): Fix some + missing case variants in the switch statement. + (#169852, Morten Welinder) + +2005-06-14 Owen Taylor + * pango/pango-script-table.h (struct): Hand edit to fix a bug in the 4.0.0 data tables. (#173096, Sukhjinder Sidhu) diff --git a/pango/pango-utils.c b/pango/pango-utils.c index 586f15ee..85bc0d7d 100644 --- a/pango/pango-utils.c +++ b/pango/pango-utils.c @@ -735,6 +735,7 @@ pango_parse_style (const char *str, } break; case 'i': + case 'I': if (g_ascii_strcasecmp (str, "italic") == 0) { *style = PANGO_STYLE_ITALIC; @@ -742,6 +743,7 @@ pango_parse_style (const char *str, } break; case 'o': + case 'O': if (g_ascii_strcasecmp (str, "oblique") == 0) { *style = PANGO_STYLE_OBLIQUE; -- cgit v1.2.1