r18151 by jghali - fix crash when editing nodes
scribus-commit
scribus-commit at lists.scribus.net
Mon Feb 18 22:44:37 UTC 2013
Author: jghali
Date: Mon Feb 18 22:44:36 2013
New Revision: 18151
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18151
Log:
fix crash when editing nodes
Modified:
trunk/Scribus/scribus/canvasmode_nodeedit.cpp
Modified: trunk/Scribus/scribus/canvasmode_nodeedit.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18151&path=/trunk/Scribus/scribus/canvasmode_nodeedit.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_nodeedit.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_nodeedit.cpp Mon Feb 18 22:44:36 2013
@@ -566,16 +566,16 @@
FPointArray cli;
uint EndInd = Clip.size();
uint StartInd = 0;
- for (int n = m_doc->nodeEdit.ClRe; n < Clip.size(); ++n)
- {
- if (Clip.point(n).x() > 900000)
- {
- EndInd = n;
- break;
- }
- }
if (m_doc->nodeEdit.ClRe > 0)
{
+ for (int n = m_doc->nodeEdit.ClRe; n < Clip.size(); ++n)
+ {
+ if (Clip.point(n).x() > 900000)
+ {
+ EndInd = n;
+ break;
+ }
+ }
for (uint n2 = m_doc->nodeEdit.ClRe; n2 > 0; n2--)
{
if (n2 == 0)
More information about the scribus-commit
mailing list