r20797 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 30 20:55:36 UTC 2016


Author: jghali
Date: Sat Jan 30 20:55:36 2016
New Revision: 20797

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

Modified:
    trunk/Scribus/scribus/gtaction.cpp

Modified: trunk/Scribus/scribus/gtaction.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20797&path=/trunk/Scribus/scribus/gtaction.cpp
==============================================================================
--- trunk/Scribus/scribus/gtaction.cpp	(original)
+++ trunk/Scribus/scribus/gtaction.cpp	Sat Jan 30 20:55:36 2016
@@ -206,7 +206,7 @@
 		if (UndoManager::undoEnabled())
 		{
 			SimpleState *ss = new SimpleState(Um::AppendText,"",Um::ICreate);
-			ss->set("INSERT_FRAMETEXT", "insert_frametext");
+			ss->set("INSERT_FRAMETEXT");
 			ss->set("TEXT_STR",textStr);
 			ss->set("START", pos);
 			m_undoManager->action(m_it, ss);




More information about the scribus-commit mailing list