diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2013-11-16 16:09:45 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-11-16 16:09:45 +0100 |
commit | fb2bb6ba87af8599830bb004f6e2cf82a92d1f28 (patch) | |
tree | 099d6e105b155213c846aad2635facee25550c5f /ksvg/impl/svgpathparser.cc | |
parent | b9435199b33506f866bedc0b864141eef52ac9dc (diff) | |
download | tdegraphics-fb2bb6ba87af8599830bb004f6e2cf82a92d1f28.tar.gz tdegraphics-fb2bb6ba87af8599830bb004f6e2cf82a92d1f28.zip |
Fix ksvg deadlock with specifically formatted input files
This resolves Bug 1418
Diffstat (limited to 'ksvg/impl/svgpathparser.cc')
-rw-r--r-- | ksvg/impl/svgpathparser.cc | 2 |
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') |