diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-01 21:11:59 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-01 21:11:59 +0000 |
commit | b2269a81668efaf157d541f2ffd67e52b89417c6 (patch) | |
tree | 128980a09b93abf48f63ee78bb51a041b607e8a2 /plugins/PackUpdater/Src | |
parent | be6c3121411e55055383900f45d17a1ef887ccdd (diff) |
useless Folders support checks removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@3824 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PackUpdater/Src')
-rw-r--r-- | plugins/PackUpdater/Src/PackUpdater.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/PackUpdater/Src/PackUpdater.cpp b/plugins/PackUpdater/Src/PackUpdater.cpp index 7ab4ab7e50..1dde3c429f 100644 --- a/plugins/PackUpdater/Src/PackUpdater.cpp +++ b/plugins/PackUpdater/Src/PackUpdater.cpp @@ -56,11 +56,11 @@ extern "C" __declspec(dllexport) int Load(void) TCHAR* tszFolder = Utils_ReplaceVarsT(_T("%miranda_userdata%\\"DEFAULT_UPDATES_FOLDER));
lstrcpyn(tszRoot, tszFolder, SIZEOF(tszRoot));
- if (ServiceExists(MS_FOLDERS_REGISTER_PATH))
- {
- hPackUpdaterFolder = FoldersRegisterCustomPathT(MODULEA, "Pack Updater", MIRANDA_USERDATAT _T("\\")DEFAULT_UPDATES_FOLDER);
+
+ hPackUpdaterFolder = FoldersRegisterCustomPathT(MODULEA, "Pack Updater", MIRANDA_USERDATAT _T("\\")DEFAULT_UPDATES_FOLDER);
+ if (hPackUpdaterFolder)
FoldersGetCustomPathT(hPackUpdaterFolder, tszRoot, MAX_PATH, _T(""));
- }
+
mir_free(tszFolder);
LoadOptions();
InitPopupList();
|