Do not manually remove line breaks from log lines, as these are not displayed anyway in SingleLineMode. Fixes issue #2460.

This commit is contained in:
Ansgar Becker
2011-06-17 06:04:36 +00:00
parent f290e42bdf
commit d15c3ca1ea

View File

@ -3841,11 +3841,6 @@ begin
if not IsSQL then
Msg := '/* ' + Msg + ' */';
Msg := StringReplace(Msg, #9, ' ', [rfReplaceAll]);
Msg := StringReplace(Msg, #10, ' ', [rfReplaceAll]);
Msg := StringReplace(Msg, #13, ' ', [rfReplaceAll]);
Msg := StringReplace(Msg, ' ', ' ', [rfReplaceAll]);
EnterCriticalSection(FCriticalSection);
SynMemoSQLLog.Lines.Add(Msg);