From c2bd2816ea9c87d8a252d85dc279972cac3dd319 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Wed, 23 Mar 2016 21:57:02 +0000 Subject: [PATCH] Fixed replacement of \\n with \n --- source/common/textprocessing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5