diff options
| author | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-04-18 02:20:21 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-04-18 02:20:21 +0000 |
| commit | 3e7faea771dc06753bfbe3c319c046d839ee039c (patch) | |
| tree | 23ba8843cf2ebd46bb0038c1816dd296ce92741f /src/xml/repr-css.cpp | |
| parent | Semi-fix for Join type on closed paths (diff) | |
| parent | Latvian translation update (diff) | |
| download | inkscape-3e7faea771dc06753bfbe3c319c046d839ee039c.tar.gz inkscape-3e7faea771dc06753bfbe3c319c046d839ee039c.zip | |
Update to trunk
(bzr r13090.1.60)
Diffstat (limited to 'src/xml/repr-css.cpp')
| -rw-r--r-- | src/xml/repr-css.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xml/repr-css.cpp b/src/xml/repr-css.cpp index 24e2db9e1..32a1e7f5d 100644 --- a/src/xml/repr-css.cpp +++ b/src/xml/repr-css.cpp @@ -382,7 +382,10 @@ static void sp_repr_css_merge_from_decl(SPCSSAttr *css, CRDeclaration const *con std::string characters; std::string temp; bool number_valid = !(ss >> number).fail(); - if( !number_valid ) ss.clear(); + if (!number_valid) { + ss.clear(); + ss.seekg(0); // work-around for a bug in libc++ (see lp:1300271) + } while( !(ss >> temp).eof() ) { characters += temp; characters += " "; |
