From e698b95a69eb5725730ac722bb1fc0f224a74cfd Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 2 Jan 2016 20:54:59 +0000 Subject: case-sensitive check for folder name fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@16001 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/PluginUpdater/src/DlgUpdate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3