summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9f5a047)
raw | patch | inline | side by side (parent: 9f5a047)
author | joncruz <joncruz@users.sourceforge.net> | |
Thu, 6 Sep 2007 06:47:13 +0000 (06:47 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Thu, 6 Sep 2007 06:47:13 +0000 (06:47 +0000) |
src/svg/svg-color.cpp | patch | blob | history |
diff --git a/src/svg/svg-color.cpp b/src/svg/svg-color.cpp
index 57003064ace036aeeefd0d0ae26c0da0cebafd9b..9f7a5a87cfaebd8ffed9a36aaddb222677b18874 100644 (file)
--- a/src/svg/svg-color.cpp
+++ b/src/svg/svg-color.cpp
@@ -481,11 +481,13 @@ bool sp_svg_read_icc_color( gchar const *str, gchar const **end_ptr, SVGICCColor
// Name must start with a certain type of character
good = false;
} else {
- while ( g_ascii_isdigit(*str) || g_ascii_islower(*str) || (*str == '-') ) {
+ while ( g_ascii_isdigit(*str) || g_ascii_isalpha(*str) || (*str == '-') ) {
if ( dest ) {
dest->colorProfile += *str;
}
str++;
+ gboolean aa = g_ascii_isalpha(*str);
+ gboolean bb = aa;
}
while ( g_ascii_isspace(*str) || *str == ',' ) {
str++;