summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Scanner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PluginUpdater/src/Scanner.cpp')
-rw-r--r--plugins/PluginUpdater/src/Scanner.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/Scanner.cpp b/plugins/PluginUpdater/src/Scanner.cpp
index f019ed1e60..391c1ff7fc 100644
--- a/plugins/PluginUpdater/src/Scanner.cpp
+++ b/plugins/PluginUpdater/src/Scanner.cpp
@@ -159,6 +159,8 @@ static void CheckUpdates(void *)
char* szName = strrchr(str, '\\');
if (szName == NULL)
szName = str;
+ else
+ szName++;
_strlwr(p);
hashes[szName] = p;