r20802 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 30 21:15:40 UTC 2016


Author: jghali
Date: Sat Jan 30 21:15:40 2016
New Revision: 20802

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20802
Log:
coverity: "array compared against 0" errors in NodePalette

Modified:
    trunk/Scribus/scribus/ui/nodeeditpalette.cpp

Modified: trunk/Scribus/scribus/ui/nodeeditpalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20802&path=/trunk/Scribus/scribus/ui/nodeeditpalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/nodeeditpalette.cpp	(original)
+++ trunk/Scribus/scribus/ui/nodeeditpalette.cpp	Sat Jan 30 21:15:40 2016
@@ -546,7 +546,7 @@
 		if (UndoManager::undoEnabled())
 		{
 			ScItemState<FPointArray> *is = new ScItemState<FPointArray>(Um::ResetContourLine, "",Um::IBorder);
-			is->set("RESET_CONTOUR", "reset_contour");
+			is->set("RESET_CONTOUR");
 			is->setItem(m_doc->m_Selection->itemAt(0)->ContourLine);
 			UndoManager::instance()->action(currItem, is);
 		}




More information about the scribus-commit mailing list