r21388 by fschmid -

scribus-commit scribus-commit at lists.scribus.net
Sat Jun 25 10:07:53 UTC 2016


Author: fschmid
Date: Sat Jun 25 10:07:53 2016
New Revision: 21388

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21388
Log:
Fixed Bug #14168: Hang / freeze importing a particular SVG image file

Modified:
    trunk/Scribus/scribus/fpointarray.cpp

Modified: trunk/Scribus/scribus/fpointarray.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21388&path=/trunk/Scribus/scribus/fpointarray.cpp
==============================================================================
--- trunk/Scribus/scribus/fpointarray.cpp	(original)
+++ trunk/Scribus/scribus/fpointarray.cpp	Sat Jun 25 10:07:53 2016
@@ -1087,7 +1087,7 @@
 				}
 			}
 			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')




More information about the scribus-commit mailing list