From 02899659835bd6352f42a90a344b1de896f6a6a8 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 12 Dec 2014 18:28:12 +0000 Subject: SpellChecker: changed warning lavel to w4 git-svn-id: http://svn.miranda-ng.org/main/trunk@11354 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SpellChecker/src/dictionary.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'plugins/SpellChecker/src/dictionary.cpp') diff --git a/plugins/SpellChecker/src/dictionary.cpp b/plugins/SpellChecker/src/dictionary.cpp index 44597254e0..64adc2f33a 100644 --- a/plugins/SpellChecker/src/dictionary.cpp +++ b/plugins/SpellChecker/src/dictionary.cpp @@ -14,7 +14,7 @@ Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this file; see the file license.txt. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. +Boston, MA 02111-1307, USA. */ #include "commons.h" @@ -841,7 +841,7 @@ void GetHunspellDictionariesFromFolder(LIST &dicts, TCHAR *path, TCH TCHAR *lang = ffd.cFileName; // Replace - for _ - for (int i = 0; i < mir_tstrlen(lang); i++) + for (size_t i = 0; i < mir_tstrlen(lang); i++) if (lang[i] == _T('-')) lang[i] = _T('_'); @@ -856,8 +856,7 @@ void GetHunspellDictionariesFromFolder(LIST &dicts, TCHAR *path, TCH file[mir_tstrlen(file) - 4] = _T('\0'); dicts.insert(new HunspellDictionary(lang, file, user_path, source)); } - } - while (FindNextFile(hFFD, &ffd)); + } while (FindNextFile(hFFD, &ffd)); FindClose(hFFD); } -- cgit v1.2.3