X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcommon%2Ftextprocessing.cpp;h=9d6c8ffb07942b99a2912fd7ab56a9b1994756fe;hb=refs%2Ftags%2Frelease-0.12;hp=b9832e55c3331dfee7ccf4bf1861a42a54bfd577;hpb=cd8780939e5a806f34a03b86a3e10f26666180d1;p=xestiaab%2F.git diff --git a/source/common/textprocessing.cpp b/source/common/textprocessing.cpp index b9832e5..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); @@ -177,20 +177,4 @@ bool MapDataExists(int *ItemIndex, std::map *MapPtr){ } -} - -/* -template -void DeleteMapData(ArgMap* ArgMapPtr, Args*... ArgsList){ - - //DeleteMapDataProcess(ArgMapPtr); - - DeleteMapData(ArgsList...); - -} -*/ -/* -void test(int* x) { - -} -*/ \ No newline at end of file +} \ No newline at end of file