r21959 by craig - Coverity 1350105: Fix copy paste error for Join/Cap Styles in AI import
scribus-commit
scribus-commit at lists.scribus.net
Fri Apr 21 17:03:24 UTC 2017
Author: craig
Date: Fri Apr 21 17:03:24 2017
New Revision: 21959
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21959
Log:
Coverity 1350105: Fix copy paste error for Join/Cap Styles in AI import
Modified:
trunk/Scribus/scribus/plugins/import/ai/importai.cpp
Modified: trunk/Scribus/scribus/plugins/import/ai/importai.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21959&path=/trunk/Scribus/scribus/plugins/import/ai/importai.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/ai/importai.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/ai/importai.cpp Fri Apr 21 17:03:24 2017
@@ -1790,7 +1790,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")
@@ -1801,7 +1801,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