r22656 by jghali - Fix some find/replace error

scribus-commit scribus-commit at lists.scribus.net
Mon Aug 27 21:11:40 UTC 2018


Author: jghali
Date: Mon Aug 27 21:11:40 2018
New Revision: 22656

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22656
Log:
Fix some find/replace error

Modified:
    trunk/Scribus/scribus/plugins/scriptplugin/svgimport.cpp

Modified: trunk/Scribus/scribus/plugins/scriptplugin/svgimport.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22656&path=/trunk/Scribus/scribus/plugins/scriptplugin/svgimport.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/svgimport.cpp	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/svgimport.cpp	Mon Aug 27 21:11:40 2018
@@ -174,7 +174,7 @@
 	char *Image;
 	double x = 0.0;
 	double y = 0.0;
-	if (!nullptr(args, "es|dd", "utf-8", &Image, &x, &y))
+	if (!PyArg_ParseTuple(args, "es|dd", "utf-8", &Image, &x, &y))
 		return NULL;
 	if (!checkHaveDocument())
 		return nullptr;




More information about the scribus-commit mailing list