|
@@ -906,6 +906,7 @@ CString CRulerRichEditCtrl::GetText()
|
|
|
#ifdef _UNICODE
|
|
#ifdef _UNICODE
|
|
|
GETTEXTEX stex;
|
|
GETTEXTEX stex;
|
|
|
stex.codepage = 1200; // Unicode code page(set SETTEXTEX documentation)
|
|
stex.codepage = 1200; // Unicode code page(set SETTEXTEX documentation)
|
|
|
|
|
+ stex.flags = GT_USECRLF;
|
|
|
|
|
|
|
|
int nSize = m_rtf.GetTextLength();
|
|
int nSize = m_rtf.GetTextLength();
|
|
|
//increase the size incase of unicode text
|
|
//increase the size incase of unicode text
|