r22495 by jghali - #15280: Bad expressions in code of AI import plugin

scribus-commit scribus-commit at lists.scribus.net
Sun Apr 29 01:17:03 UTC 2018


Author: jghali
Date: Sun Apr 29 01:17:03 2018
New Revision: 22495

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22495
Log:
#15280: Bad expressions in code of AI import plugin

Modified:
    branches/Version14x/Scribus/scribus/plugins/import/ai/importai.cpp

Modified: branches/Version14x/Scribus/scribus/plugins/import/ai/importai.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22495&path=/branches/Version14x/Scribus/scribus/plugins/import/ai/importai.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/plugins/import/ai/importai.cpp	(original)
+++ branches/Version14x/Scribus/scribus/plugins/import/ai/importai.cpp	Sun Apr 29 01:17:03 2018
@@ -1257,7 +1257,7 @@
 				JoinStyle = Qt::MiterJoin;
 			else if (tmpInt == 1)
 				JoinStyle = Qt::RoundJoin;
-			else if (tmpInt == 1)
+			else if (tmpInt == 2)
 				JoinStyle = Qt::BevelJoin;
 		}
 		else if (command == "J")
@@ -1268,7 +1268,7 @@
 				CapStyle = Qt::FlatCap;
 			else if (tmpInt == 1)
 				CapStyle = Qt::RoundCap;
-			else if (tmpInt == 1)
+			else if (tmpInt == 2)
 				CapStyle = Qt::SquareCap;
 		}
 		/* undocumented Command Xy




More information about the scribus-commit mailing list