Author: jghali
Date: Mon Aug 21 12:18:45 2017
New Revision: 22138

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22138
Log:
fix variable name clash with upper level loop

Modified:
    trunk/Scribus/scribus/pageitem_textframe.cpp

Modified: trunk/Scribus/scribus/pageitem_textframe.cpp
URL: 
http://scribus.net/websvn/diff.php?repname=Scribus&rev=22138&path=/trunk/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.cpp        (original)
+++ trunk/Scribus/scribus/pageitem_textframe.cpp        Mon Aug 21 12:18:45 2017
@@ -2526,10 +2526,10 @@
                                {
                                        // make sure that Offset inserted only 
after the suffix
                                        // loop over previous current.glyphs 
and set their extraWidth to 0.0
-                                       for (int i = 0; i < 
current.glyphs.size(); i++)
-                                       {
-                                               if (i != currentIndex)
-                                                       
current.glyphs[i].extraWidth = 0.0;
+                                       for (int j = 0; j < 
current.glyphs.size(); j++)
+                                       {
+                                               if (j != currentIndex)
+                                                       
current.glyphs[j].extraWidth = 0.0;
                                        }
                                }
                                // set the offset for Drop Cap, Bullet & Number 
List


_______________________________________________
scribus-commit mailing list
[email protected]
http://lists.scribus.net/mailman/listinfo/scribus-commit

Reply via email to