summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-06-14 22:23:29 +0000
committerOwen Taylor <otaylor@src.gnome.org>2005-06-14 22:23:29 +0000
commitc321fe33711232a273fa2423da83a9e3b87ed938 (patch)
tree0fcc6c3d67d26589d90c7db19d302a4d397f1705
parent8c50a90a8ba708a84e3eaa29f9e7d5d0743b6088 (diff)
downloadpango-c321fe33711232a273fa2423da83a9e3b87ed938.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 f86a93ce..108ab4d1 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 f86a93ce..108ab4d1 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 c30c88d3..9e11bc20 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -730,6 +730,7 @@ pango_parse_style (const char *str,
}
break;
case 'i':
+ case 'I':
if (g_ascii_strcasecmp (str, "italic") == 0)
{
*style = PANGO_STYLE_ITALIC;
@@ -737,6 +738,7 @@ pango_parse_style (const char *str,
}
break;
case 'o':
+ case 'O':
if (g_ascii_strcasecmp (str, "oblique") == 0)
{
*style = PANGO_STYLE_OBLIQUE;