diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-06 13:30:07 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-06 13:30:07 +0000 |
commit | d5d19d668d027a766ee62363e1b9c9fb4965e568 (patch) | |
tree | 69ae80341970ee549d5cc5ba271d58f0987433fc /plugins/TabSRMM/src/mim.cpp | |
parent | 713cf8c9233010b01b17d8e88e51c2da52298ae8 (diff) |
fixed skin path without folders plugin
git-svn-id: http://svn.miranda-ng.org/main/trunk@4330 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/mim.cpp')
-rw-r--r-- | plugins/TabSRMM/src/mim.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp index cc3ee55392..d70cd091b8 100644 --- a/plugins/TabSRMM/src/mim.cpp +++ b/plugins/TabSRMM/src/mim.cpp @@ -394,7 +394,10 @@ void CMimAPI::InitPaths() mir_sntprintf(m_szProfilePath, MAX_PATH, _T("%stabSRMM"), szUserdataDir);
mir_sntprintf(m_szChatLogsPath, MAX_PATH, _T("%sLogs\\"), szUserdataDir);
- mir_sntprintf(m_szSkinsPath, MAX_PATH, _T("%%miranda_path%%\\Skins\\TabSRMM\\"));
+ if (ServiceExists(MS_FOLDERS_REGISTER_PATH))
+ mir_sntprintf(m_szSkinsPath, MAX_PATH, _T("%%miranda_path%%\\Skins\\TabSRMM\\"));
+ else
+ mir_sntprintf(m_szSkinsPath, MAX_PATH, VARST(_T("%miranda_path%\\Skins\\TabSRMM\\")));
mir_sntprintf(m_szSavedAvatarsPath, MAX_PATH, _T("%s\\Saved Contact Pictures"), m_szProfilePath);
}
|