diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-27 14:15:17 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-27 14:15:17 +0300 |
commit | b3e8f72f17e9787aa5455977dc5eae05ddecb578 (patch) | |
tree | 0fb22846efd334599b9a8a774153e98aca3c97cb /plugins/TabSRMM/src/chat_log.cpp | |
parent | 54928843e7fcd6d42be6d8d5d1127830fda97eca (diff) |
common code moved to mir_app
Diffstat (limited to 'plugins/TabSRMM/src/chat_log.cpp')
-rw-r--r-- | plugins/TabSRMM/src/chat_log.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/chat_log.cpp b/plugins/TabSRMM/src/chat_log.cpp index 78831bd9ac..037d457fd7 100644 --- a/plugins/TabSRMM/src/chat_log.cpp +++ b/plugins/TabSRMM/src/chat_log.cpp @@ -674,7 +674,7 @@ char* Log_CreateRtfHeader(MODULEINFO *mi) szString[0] = 0x28;
pci->LoadMsgDlgFont(17, &lf, nullptr);
HFONT hFont = CreateFontIndirect(&lf);
- int iText = GetTextPixelSize(szString, hFont, true) + 3;
+ int iText = Chat_GetTextPixelSize(szString, hFont, true) + 3;
DeleteObject(hFont);
iIndent += (iText * 1440) / pci->logPixelSX;
str.AppendFormat("\\tx%u", iIndent);
|