diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-06-15 21:04:25 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-06-15 21:04:25 +0000 |
commit | 5c4b80a068ed7b305e68071d39c99a6c98a9ed2f (patch) | |
tree | 44efbccc7d92b64a8f3ee9a3834a9d5d9e558acb /plugins/PluginUpdater/src/Utils.cpp | |
parent | b8a364b2a795243043b3f319e6211fcf736f8a77 (diff) |
PluginUpdater: Ignore char case for unchecked items
git-svn-id: http://svn.miranda-ng.org/main/trunk@4965 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Utils.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Utils.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp index f98f990ce7..fb499aa860 100644 --- a/plugins/PluginUpdater/src/Utils.cpp +++ b/plugins/PluginUpdater/src/Utils.cpp @@ -685,3 +685,13 @@ int SafeCreateFilePath(TCHAR *pFolder) return TransactPipe(5, pFolder, NULL);
}
+
+/////////////////////////////////////////////////////////////////////////////////////////
+
+char *StrToLower(char *str)
+{
+ for (int i = 0; str[i]; i++) {
+ str[i] = tolower(str[i]);
+ }
+ return str;
+}
\ No newline at end of file |