From af70e24fb047842eb711ede9e3bb6200492823a4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 4 Aug 2012 21:20:00 +0000 Subject: another fix for file name's case sensitivity git-svn-id: http://svn.miranda-ng.org/main/trunk@1361 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/PluginUpdater/src/Notifications.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/PluginUpdater/src') diff --git a/plugins/PluginUpdater/src/Notifications.cpp b/plugins/PluginUpdater/src/Notifications.cpp index 2f88205946..775915d4f9 100644 --- a/plugins/PluginUpdater/src/Notifications.cpp +++ b/plugins/PluginUpdater/src/Notifications.cpp @@ -291,7 +291,10 @@ LBL_Skip: FILEINFO& p = todo[i]; unzip(p.File.tszDiskPath, tszMirandaPath, tszFileTemp); - DBWriteContactSettingString(NULL, MODNAME, _T2A(p.tszDescr), p.newhash); + char szFileName[MAX_PATH]; + strncpy(szFileName, _T2A(p.tszDescr), SIZEOF(szFileName)); + _strlwr(szFileName); + DBWriteContactSettingString(NULL, MODNAME, szFileName, p.newhash); } CallFunctionAsync(RestartMe, 0); -- cgit v1.2.3