summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-07-21 13:34:28 +0000
committerRobert Pösel <robyer@seznam.cz>2014-07-21 13:34:28 +0000
commit24e2a8bb9844345d58c2cf9317d7dec73c332cba (patch)
treefca2db81eefa57793a9befba23452b617880ad52 /plugins/TabSRMM
parent7f47f494c96d2c7a549edb4b757b1667552f046b (diff)
TabSRMM: Fix #741 (Browsing last messages sent (using Ctrl + up) breaks particular Unicode characters)
git-svn-id: http://svn.miranda-ng.org/main/trunk@9902 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r--plugins/TabSRMM/src/contactcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp
index d040780506..1687a8fa82 100644
--- a/plugins/TabSRMM/src/contactcache.cpp
+++ b/plugins/TabSRMM/src/contactcache.cpp
@@ -281,7 +281,7 @@ void CContactCache::saveHistory(WPARAM wParam, LPARAM lParam)
m_iHistoryTop = (int)wParam;
}
- szFromStream = ::Message_GetFromStream(GetDlgItem(m_hwnd, IDC_MESSAGE), m_dat, (CP_UTF8 << 16) | (SF_RTFNOOBJS | SFF_PLAINRTF | SF_USECODEPAGE));
+ szFromStream = ::Message_GetFromStream(GetDlgItem(m_hwnd, IDC_MESSAGE), m_dat, (CP_UTF8 << 16) | (SF_RTFNOOBJS | SFF_PLAINRTF | SF_USECODEPAGE | SF_NCRFORNONASCII));
iLength = iStreamLength = (strlen(szFromStream) + 1);