diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2016-01-02 20:54:59 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2016-01-02 20:54:59 +0000 |
commit | e698b95a69eb5725730ac722bb1fc0f224a74cfd (patch) | |
tree | 5d84bdf7fe00ab5a1e38b9aeed4532e37d8e07e3 /plugins/PluginUpdater/src/DlgUpdate.cpp | |
parent | a7ca837b1c1b04991497b90212cff709f28801b1 (diff) |
case-sensitive check for folder name fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@16001 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/DlgUpdate.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/DlgUpdate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp index a45ddc673a..12dcbce55f 100644 --- a/plugins/PluginUpdater/src/DlgUpdate.cpp +++ b/plugins/PluginUpdater/src/DlgUpdate.cpp @@ -593,7 +593,7 @@ static bool isValidExtension(const TCHAR *ptszFileName) // We only scan subfolders "Plugins", "Icons", "Languages", "Libs", "Core"
static bool isValidDirectory(const TCHAR *ptszDirName)
{
- return !_tcscmp(ptszDirName, _T("Plugins")) || !_tcscmp(ptszDirName, _T("Icons")) || !_tcscmp(ptszDirName, _T("Languages")) || !_tcscmp(ptszDirName, _T("Libs")) || !_tcscmp(ptszDirName, _T("Core"));
+ return !_tcsicmp(ptszDirName, _T("Plugins")) || !_tcsicmp(ptszDirName, _T("Icons")) || !_tcsicmp(ptszDirName, _T("Languages")) || !_tcsicmp(ptszDirName, _T("Libs")) || !_tcsicmp(ptszDirName, _T("Core"));
}
// Scans folders recursively
|