diff options
author | George Hazan <george.hazan@gmail.com> | 2012-08-04 21:20:00 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-08-04 21:20:00 +0000 |
commit | af70e24fb047842eb711ede9e3bb6200492823a4 (patch) | |
tree | 77129899d0fa200d66efe1fd3c9b7dbeb58a8734 | |
parent | 6a992c3cc581b000faa5b8615b5b84865b4c31c4 (diff) |
another fix for file name's case sensitivity
git-svn-id: http://svn.miranda-ng.org/main/trunk@1361 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/PluginUpdater/src/Notifications.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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);
|