summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-12-16 16:54:13 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-12-16 16:54:13 +0000
commit94bb72aca84414a28e556e5fe406eb3bd8cf8567 (patch)
tree62a00804d4557608c6b7685202ae9399be48e7f9 /plugins/PluginUpdater/src
parentcad41b20b4dceef8e3bc028afe9c5f4532e3068b (diff)
added new renaming rule: bclist.dll => Plugins\\Clist_blind.dll
git-svn-id: http://svn.miranda-ng.org/main/trunk@2755 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src')
-rw-r--r--plugins/PluginUpdater/src/Scanner.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/PluginUpdater/src/Scanner.cpp b/plugins/PluginUpdater/src/Scanner.cpp
index 71bdccdc1b..cc62326962 100644
--- a/plugins/PluginUpdater/src/Scanner.cpp
+++ b/plugins/PluginUpdater/src/Scanner.cpp
@@ -50,7 +50,7 @@ struct ServListEntry
}
~ServListEntry()
- {
+ {
if (m_bNeedFree)
mir_free(m_name);
}
@@ -83,7 +83,8 @@ static renameTable[] =
{ _T("newnr.dll"), _T("Plugins\\notesreminders.dll") },
{ _T("dbtool.exe"), _T("Plugins\\dbchecker.dll") },
{ _T("dbtool_sa.exe"), _T("Plugins\\dbchecker.dll") },
-
+ { _T("bclist.dll"), _T("Plugins\\Clist_blind.dll") },
+
{ _T("clienticons_general.dll"), _T("Icons\\fp_icons.dll") },
{ _T("clienticons_miranda.dll"), _T("Icons\\fp_icons.dll") },
{ _T("fp_icq.dll"), _T("Icons\\fp_icons.dll") },
@@ -119,7 +120,7 @@ static renameTable[] =
{ _T("fp_tlen.dll"), _T("") },
{ _T("fp_weather.dll"), _T("") },
{ _T("fp_yahoo.dll"), _T("") },
-
+
{ _T("clist_classic.dll"), _T("") },
{ _T("chat.dll"), _T("") },
{ _T("gender.dll"), _T("") },
@@ -188,14 +189,14 @@ static void ScanFolder(const TCHAR *tszFolder, size_t cbBaseLen, int level, cons
mir_sntprintf(tszBuf, SIZEOF(tszBuf), _T("%s\\%s"), tszFolder, ffd.cFileName);
// this file is not marked for deletion
- if (tszNewName[0]) {
+ if (tszNewName[0]) {
ServListEntry tmp(tszNewName);
ServListEntry *item = hashes.find(&tmp);
if (item == NULL) {
TCHAR *p = _tcsrchr(tszNewName, '.');
if (p[-1] != 'w' && p[-1] != 'W')
continue;
-
+
int iPos = int(p - key)-1;
strdel(p-1, 1);
if ((item = hashes.find(&tmp)) == NULL)