Fix ksvg deadlock with specifically formatted input files

This resolves Bug 1418
pull/1/head
Fabio Rossi 11 years ago committed by Slávek Banko
parent b9435199b3
commit fb2bb6ba87

@ -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')

Loading…
Cancel
Save