diff options
author | George Hazan <ghazan@miranda.im> | 2017-06-27 22:13:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-06-27 22:13:50 +0300 |
commit | 67a4d8a0e0725cf7c87e26f153f69107c62a9df1 (patch) | |
tree | f446147329291b59513d956f2ee1b720f5fe28bc | |
parent | 14115ff753202c6830e1d206cebf6a07aa4c377f (diff) |
fix for 64-bit pointers
-rw-r--r-- | plugins/TabSRMM/src/chat_log.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat_log.cpp b/plugins/TabSRMM/src/chat_log.cpp index 068868cff7..cda3695494 100644 --- a/plugins/TabSRMM/src/chat_log.cpp +++ b/plugins/TabSRMM/src/chat_log.cpp @@ -731,7 +731,7 @@ char* Log_CreateRTF(LOGSTREAMDATA *streamData) }
// create new line, and set font and color
str.AppendFormat("\\ql\\sl0%s ", pci->Log_SetStyle(0));
- str.AppendFormat("\\v~-+%d+-~\\v0 ", lin);
+ str.AppendFormat("\\v~-+%p+-~\\v0 ", lin);
// Insert icon
if (g_Settings.bLogSymbols) // use symbols
@@ -952,7 +952,7 @@ void CChatRoomDlg::StreamInEvents(LOGINFO *lin, bool bRedraw) // this uses hidden marks in the rich text to find the events which should be deleted
if (m_si->bTrimmed) {
wchar_t szPattern[50];
- mir_snwprintf(szPattern, L"~-+%d+-~", m_si->pLogEnd);
+ mir_snwprintf(szPattern, L"~-+%p+-~", m_si->pLogEnd);
FINDTEXTEX fi;
fi.lpstrText = szPattern;
|