diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2008-04-28 17:17:32 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2008-04-28 17:17:32 +0000 |
| commit | 2162e49a24f457936b49f93a38860ffeed9b27c2 (patch) | |
| tree | c95c0efbdb5fd8d5501ee7d87bd4a0dc6b8259df /src | |
| parent | Fix for closepath handling of SVG path data parser and tolerance for approxim... (diff) | |
| download | inkscape-2162e49a24f457936b49f93a38860ffeed9b27c2.tar.gz inkscape-2162e49a24f457936b49f93a38860ffeed9b27c2.zip | |
change def of string length
(bzr r5537)
Diffstat (limited to 'src')
| -rw-r--r-- | src/dom/io/uristream.cpp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/dom/io/uristream.cpp b/src/dom/io/uristream.cpp index 3934169c6..b86a71442 100644 --- a/src/dom/io/uristream.cpp +++ b/src/dom/io/uristream.cpp @@ -10,7 +10,7 @@ * Authors: * Bob Jamison * - * Copyright (C) 2005 Bob Jamison + * Copyright (C) 2005-2008 Bob Jamison * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -27,17 +27,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -/** - * Our base String stream classes. We implement these to - * be based on DOMString - * - * Authors: - * Bob Jamison <rjamison@titan.com> - * - * Copyright (C) 2004 Inkscape.org - * - * Released under GNU GPL, read the file 'COPYING' for more information - */ #include "uristream.h" @@ -99,7 +88,7 @@ void UriInputStream::init() throw (StreamException) data = (unsigned char *) uri.getPath().c_str(); //printf("in data:'%s'\n", data); dataPos = 0; - dataLen = strlen((const char *)data); + dataLen = uri.getPath().size(); break; } |
