Author: jghali
Date: Thu Oct 29 16:33:20 2020
New Revision: 24125

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24125
Log:
Code style fixes

Modified:
    trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp

Modified: trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp
URL: 
http://scribus.net/websvn/diff.php?repname=Scribus&rev=24125&path=/trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp        
(original)
+++ trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp        
Thu Oct 29 16:33:20 2020
@@ -94,7 +94,7 @@
        {
                do {
                        ++m_wfListIndex;
-               } while (m_wfListIndex<m_wfList->count() && 
(m_wfList->at(m_wfListIndex).changed || m_wfList->at(m_wfListIndex).ignore));
+               } while (m_wfListIndex < m_wfList->count() && 
(m_wfList->at(m_wfListIndex).changed || m_wfList->at(m_wfListIndex).ignore));
                //qDebug()<<"selected word index"<<m_wfListIndex;
        }
        if (m_wfListIndex >= m_wfList->count())
@@ -127,8 +127,10 @@
        QString wordToIgnore = m_wfList->at(m_wfListIndex).w;
        //Do we start from 0 or from the instance of the word where we are... 0 
for now
        for (int i = 0; i < m_wfList->count(); ++i)
+       {
                if (m_wfList->at(i).w == wordToIgnore)
                        (*m_wfList)[i].ignore = true;
+       }
        goToNextWord();
 }
 


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

Reply via email to