summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ksvg/impl/svgpathparser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksvg/impl/svgpathparser.cc b/ksvg/impl/svgpathparser.cc
index 27eb759c..87a03aca 100644
--- a/ksvg/impl/svgpathparser.cc
+++ b/ksvg/impl/svgpathparser.cc
@@ -368,7 +368,7 @@ SVGPathParser::parseSVG( const TQString &s, bool process )
lastCommand = command;
- if(*ptr == '+' || *ptr == '-' || (*ptr >= '0' && *ptr <= '9'))
+ if(*ptr == '+' || *ptr == '-' || *ptr == '.' || (*ptr >= '0' && *ptr <= '9'))
{
// there are still coords in this command
if(command == 'M')