summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-06-14 22:23:40 +0000
committerOwen Taylor <otaylor@src.gnome.org>2005-06-14 22:23:40 +0000
commit342177eeba4f8eb12a9df03711f095c2e6a4175d (patch)
treebc51fa9443773d62f4cb3e731c7310875689eee5
parent7c9bff2ac1580102fcefcb63fa7a766776ec2a09 (diff)
downloadpango-342177eeba4f8eb12a9df03711f095c2e6a4175d.tar.gz
Fix some missing case variants in the switch statement. (#169852, Morten
2005-06-14 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.c (pango_parse_style): Fix some missing case variants in the switch statement. (#169852, Morten Welinder)
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-1-106
-rw-r--r--pango/pango-utils.c2
3 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 695c6215..f4f61ec8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2005-06-14 Owen Taylor <otaylor@redhat.com>
+ * pango/pango-utils.c (pango_parse_style): Fix some
+ missing case variants in the switch statement.
+ (#169852, Morten Welinder)
+
+2005-06-14 Owen Taylor <otaylor@redhat.com>
+
* 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 <otaylor@redhat.com>
+ * pango/pango-utils.c (pango_parse_style): Fix some
+ missing case variants in the switch statement.
+ (#169852, Morten Welinder)
+
+2005-06-14 Owen Taylor <otaylor@redhat.com>
+
* 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;