summaryrefslogtreecommitdiffstats
path: root/src/dom/domstream.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2006-02-28 20:28:32 +0000
committerishmal <ishmal@users.sourceforge.net>2006-02-28 20:28:32 +0000
commitb0bc934618bd8b324ea40b513a5b72191370db60 (patch)
treed948742029487298b52f14d68e94fced8c14758f /src/dom/domstream.cpp
parentFixed bug with color drag-n-drop (diff)
downloadinkscape-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-xsrc/dom/domstream.cpp3
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);
}