summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SpellChecker')
-rw-r--r--plugins/SpellChecker/autoreplace.cpp4
-rw-r--r--plugins/SpellChecker/spellchecker.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SpellChecker/autoreplace.cpp b/plugins/SpellChecker/autoreplace.cpp
index bf72f46fd7..2d257ccfec 100644
--- a/plugins/SpellChecker/autoreplace.cpp
+++ b/plugins/SpellChecker/autoreplace.cpp
@@ -112,7 +112,7 @@ void AutoReplaceMap::writeAutoReplaceMap()
if (file != NULL)
{
map<tstring,AutoReplacement>::iterator it = replacements.begin();
- for(; it != replacements.end(); it++)
+ for (; it != replacements.end(); it++)
{
AutoReplacement &ar = it->second;
@@ -216,7 +216,7 @@ void AutoReplaceMap::setMap(const map<tstring, AutoReplacement> &replacements)
this->replacements.clear();
map<tstring, AutoReplacement>::const_iterator it = replacements.begin();
- for(; it != replacements.end(); it++)
+ for (; it != replacements.end(); it++)
{
scoped_free<TCHAR> from = filterText(it->first.c_str());
this->replacements[from.get()] = it->second;
diff --git a/plugins/SpellChecker/spellchecker.cpp b/plugins/SpellChecker/spellchecker.cpp
index 3daab01da7..218a50f1be 100644
--- a/plugins/SpellChecker/spellchecker.cpp
+++ b/plugins/SpellChecker/spellchecker.cpp
@@ -570,7 +570,7 @@ int FindURLEnd(Dialog *dlg, TCHAR *text, int start_pos, int *checked_until = NUL
int i = start_pos;
- for(; IsURL(text[i]) || dlg->lang->isWordChar(text[i]); i++)
+ for (; IsURL(text[i]) || dlg->lang->isWordChar(text[i]); i++)
{
TCHAR c = text[i];
@@ -892,7 +892,7 @@ int CheckText(Dialog *dlg, BOOL check_all,
cur_sel = dlg->re->GetSel();
}
- for(; line < lines; line++)
+ for (; line < lines; line++)
{
int first_char = dlg->re->GetFirstCharOfLine(line);