diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2006-02-28 20:28:32 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2006-02-28 20:28:32 +0000 |
| commit | b0bc934618bd8b324ea40b513a5b72191370db60 (patch) | |
| tree | d948742029487298b52f14d68e94fced8c14758f /src/dom/domstream.cpp | |
| parent | Fixed bug with color drag-n-drop (diff) | |
| download | inkscape-b0bc934618bd8b324ea40b513a5b72191370db60.tar.gz inkscape-b0bc934618bd8b324ea40b513a5b72191370db60.zip | |
Replace isspace() with isWhitespace(). Use pure unicode character classes.
(bzr r190)
Diffstat (limited to 'src/dom/domstream.cpp')
| -rwxr-xr-x | src/dom/domstream.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dom/domstream.cpp b/src/dom/domstream.cpp index 1129a7f46..e09743043 100755 --- a/src/dom/domstream.cpp +++ b/src/dom/domstream.cpp @@ -43,6 +43,7 @@ #include <stdarg.h> #include "domstream.h" +#include "charclass.h" namespace org { @@ -245,7 +246,7 @@ DOMString BasicReader::readWord() while (available() > 0) { XMLCh ch = get(); - if (!isprint(ch)) + if (isWhitespace(ch)) break; str.push_back(ch); } |
