summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-02 11:30:23 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-02 11:30:23 +0000
commita0bd83dbb96a4e45005fdab38fb7b3a17cdcb012 (patch)
tree236dd905cf5d45070a808bf5ea0b8c80f4362877 /plugins/TabSRMM/src
parent8ef40f0bd018c6f9295977c206714db8d1e6159c (diff)
fixed for various Folders registration quirks
git-svn-id: http://svn.miranda-ng.org/main/trunk@3829 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/mim.cpp2
-rw-r--r--plugins/TabSRMM/src/themes.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp
index 9da9942175..b96f72b353 100644
--- a/plugins/TabSRMM/src/mim.cpp
+++ b/plugins/TabSRMM/src/mim.cpp
@@ -378,7 +378,7 @@ const TCHAR* CMimAPI::getUserDir()
{
if (m_userDir[0] == 0) {
if ( ServiceExists(MS_FOLDERS_REGISTER_PATH))
- lstrcpyn(m_userDir, L"%%miranda_userdata%%", SIZEOF(m_userDir));
+ lstrcpyn(m_userDir, L"%miranda_userdata%", SIZEOF(m_userDir));
else
lstrcpyn(m_userDir, VARST( _T("%miranda_userdata%")), SIZEOF(m_userDir));
diff --git a/plugins/TabSRMM/src/themes.cpp b/plugins/TabSRMM/src/themes.cpp
index e2032d04c6..05b5631bfd 100644
--- a/plugins/TabSRMM/src/themes.cpp
+++ b/plugins/TabSRMM/src/themes.cpp
@@ -2798,8 +2798,7 @@ void CSkin::setAeroEffect(LRESULT effect)
*/
void CSkin::extractSkinsAndLogo(bool fForceOverwrite) const
{
- TCHAR tszBasePath[MAX_PATH];
-
+ TCHAR tszBasePath[MAX_PATH];
mir_sntprintf(tszBasePath, MAX_PATH, _T("%s"), M->getDataPath());
if (tszBasePath[lstrlen(tszBasePath) - 1] != '\\')
_tcscat(tszBasePath, _T("\\"));