summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PluginUpdater/src/Utils.cpp')
-rw-r--r--plugins/PluginUpdater/src/Utils.cpp10
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