diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2007-09-06 06:47:13 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2007-09-06 06:47:13 +0000 |
| commit | 9ab75e908a9930569d395b8701acf9b6b2dcd3c6 (patch) | |
| tree | bbd76e82379c0cda137d65b33816a161759e3bb9 /src | |
| parent | Preserve paint styles with multiple components (diff) | |
| download | inkscape-9ab75e908a9930569d395b8701acf9b6b2dcd3c6.tar.gz inkscape-9ab75e908a9930569d395b8701acf9b6b2dcd3c6.zip | |
Preserve paint styles with multiple components
(bzr r3697)
Diffstat (limited to 'src')
| -rw-r--r-- | src/svg/svg-color.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/svg/svg-color.cpp b/src/svg/svg-color.cpp index 57003064a..9f7a5a87c 100644 --- 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++; |
