summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-06 19:12:45 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-06 19:12:45 +0000
commit15fd89ff52746c621c4a262710da4de6e8968bbd (patch)
treeae642112deefa6c08ce6817545bf65be672c32cf /plugins
parent016dcc406261b545bac4929910ff503f30e06859 (diff)
fix for the default log path in tabSRMM
git-svn-id: http://svn.miranda-ng.org/main/trunk@4347 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TabSRMM/src/chat/chat.h18
-rw-r--r--plugins/TabSRMM/src/mim.cpp4
2 files changed, 13 insertions, 9 deletions
diff --git a/plugins/TabSRMM/src/chat/chat.h b/plugins/TabSRMM/src/chat/chat.h
index 12fa5bb75d..4af20786c5 100644
--- a/plugins/TabSRMM/src/chat/chat.h
+++ b/plugins/TabSRMM/src/chat/chat.h
@@ -285,9 +285,9 @@ struct TMUCSettings {
TCHAR* pszTimeStampLog;
TCHAR* pszIncomingNick;
TCHAR* pszOutgoingNick;
- TCHAR pszLogDir[MAX_PATH + 20];
- LONG iNickListFontHeight;
- HFONT UserListFont, UserListHeadingsFont;
+ TCHAR pszLogDir[MAX_PATH + 20];
+ LONG iNickListFontHeight;
+ HFONT UserListFont, UserListHeadingsFont;
HFONT NameFont;
COLORREF crUserListColor;
COLORREF crUserListBGColor;
@@ -295,12 +295,12 @@ struct TMUCSettings {
COLORREF crPUTextColour;
COLORREF crPUBkgColour;
BYTE ClassicIndicators;
- //MAD
- BYTE LogClassicIndicators;
- BYTE AlternativeSorting;
- BYTE AnnoyingHighlight;
- BYTE CreateWindowOnHighlight;
- //MAD_
+
+ BYTE LogClassicIndicators;
+ BYTE AlternativeSorting;
+ BYTE AnnoyingHighlight;
+ BYTE CreateWindowOnHighlight;
+
BYTE LogSymbols;
BYTE ClickableNicks;
BYTE ColorizeNicks;
diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp
index 74241bd7fd..065bde4837 100644
--- a/plugins/TabSRMM/src/mim.cpp
+++ b/plugins/TabSRMM/src/mim.cpp
@@ -400,6 +400,10 @@ void CMimAPI::InitPaths()
lstrcpyn(m_szChatLogsPath, VARST(_T("%miranda_logpath%")), MAX_PATH);
lstrcpyn(m_szSkinsPath, VARST(_T("%miranda_path%\\Skins\\TabSRMM")), MAX_PATH);
}
+
+ Utils::ensureTralingBackslash(m_szChatLogsPath);
+ Utils::ensureTralingBackslash(m_szSkinsPath);
+
mir_sntprintf(m_szSavedAvatarsPath, MAX_PATH, _T("%s\\Saved Contact Pictures"), m_szProfilePath);
}