diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
commit | 78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch) | |
tree | 8512c50df70b8dd80c919e88ade3419207c95956 /plugins/SpellChecker | |
parent | ce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff) |
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SpellChecker')
-rw-r--r-- | plugins/SpellChecker/autoreplace.cpp | 4 | ||||
-rw-r--r-- | plugins/SpellChecker/spellchecker.cpp | 4 |
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); |