diff options
author | George Hazan <george.hazan@gmail.com> | 2012-08-15 10:48:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-08-15 10:48:34 +0000 |
commit | 7ad7dc2a281fbe2442bf3e8efe594e4ffdd0c5de (patch) | |
tree | f00ceb65e062806bf20a7db84e628ffa8d0b85d6 /plugins/PluginUpdater/src/PluginUpdater.cpp | |
parent | 5a91616243eb2dba33ac92849cb2702091641306 (diff) |
- folder's path isn't updated upon change in Options;
- plugin's own directory should be skipped during scan;
- minor code optimization
git-svn-id: http://svn.miranda-ng.org/main/trunk@1464 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/PluginUpdater.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/PluginUpdater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp index e481252b29..d42c0901e7 100644 --- a/plugins/PluginUpdater/src/PluginUpdater.cpp +++ b/plugins/PluginUpdater/src/PluginUpdater.cpp @@ -58,7 +58,7 @@ extern "C" __declspec(dllexport) int Load(void) hPluginUpdaterFolder = FoldersRegisterCustomPathT(MODULEA, "Plugin Updater", MIRANDA_USERDATAT _T("\\")DEFAULT_UPDATES_FOLDER);
if (hPluginUpdaterFolder)
- FoldersGetCustomPathT(hPluginUpdaterFolder, tszRoot, MAX_PATH, _T(""));
+ OnFoldersChanged(0, 0);
else {
mir_ptr<TCHAR> tszFolder( Utils_ReplaceVarsT(_T("%miranda_userdata%\\"DEFAULT_UPDATES_FOLDER)));
lstrcpyn(tszRoot, tszFolder, SIZEOF(tszRoot));
|