From: Steve Brokenshire Date: Wed, 23 Mar 2016 21:57:02 +0000 (+0000) Subject: Fixed replacement of \\n with \n X-Git-Tag: release-0.11~9 X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=commitdiff_plain;h=c2bd2816ea9c87d8a252d85dc279972cac3dd319 Fixed replacement of \\n with \n --- diff --git a/source/common/textprocessing.cpp b/source/common/textprocessing.cpp index e2f0428..9d6c8ff 100644 --- a/source/common/textprocessing.cpp +++ b/source/common/textprocessing.cpp @@ -96,7 +96,7 @@ void ResetUnusedString(wxString *ProcessString) // Reset an unused string. ProcessString->Replace(wxT("\\\\"), wxT("\\"), TRUE); - ProcessString->Replace(wxT("\n"), wxT(""), TRUE); + ProcessString->Replace(wxT("\\n"), wxT("\n"), TRUE); ProcessString->Replace(wxT("\\;"), wxT(";"), TRUE); ProcessString->Replace(wxT("\\,"), wxT(","), TRUE);