Browse Source

When editing clips use /r/n for line feeds

sabrogden 5 years ago
parent
commit
3cc820f894
1 changed files with 1 additions and 0 deletions
  1. 1 0
      RulerRichEditCtrl/RulerRichEditCtrl.cpp

+ 1 - 0
RulerRichEditCtrl/RulerRichEditCtrl.cpp

@@ -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