r21962 by jghali - fix missing parenthesis in 'if' condition
scribus-commit
scribus-commit at lists.scribus.net
Fri Apr 21 22:49:31 UTC 2017
Author: jghali
Date: Fri Apr 21 22:49:30 2017
New Revision: 21962
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21962
Log:
fix missing parenthesis in 'if' condition
Modified:
trunk/Scribus/scribus/pageitem_textframe.cpp
Modified: trunk/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21962&path=/trunk/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.cpp (original)
+++ trunk/Scribus/scribus/pageitem_textframe.cpp Fri Apr 21 22:49:30 2017
@@ -4720,7 +4720,7 @@
SimpleState* ss = ts ? dynamic_cast<SimpleState*>(ts->last()) : NULL;
if (ss)
etea = ss->get("ETEA");
- if (ts && (etea == "delete_frametext") || (etea == "delete_framepara"))
+ if (ts && ((etea == "delete_frametext") || (etea == "delete_framepara")))
ts->pushBack(undoTarget, ip);
else
undoManager->action(undoTarget, ip);
More information about the scribus-commit
mailing list