diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TabSRMM/src/chat/chat.h | 18 | ||||
-rw-r--r-- | plugins/TabSRMM/src/mim.cpp | 4 |
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);
}
|