mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 18:12:05 +08:00
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:
@ -3841,11 +3841,6 @@ begin
|
|||||||
if not IsSQL then
|
if not IsSQL then
|
||||||
Msg := '/* ' + Msg + ' */';
|
Msg := '/* ' + Msg + ' */';
|
||||||
|
|
||||||
Msg := StringReplace(Msg, #9, ' ', [rfReplaceAll]);
|
|
||||||
Msg := StringReplace(Msg, #10, ' ', [rfReplaceAll]);
|
|
||||||
Msg := StringReplace(Msg, #13, ' ', [rfReplaceAll]);
|
|
||||||
Msg := StringReplace(Msg, ' ', ' ', [rfReplaceAll]);
|
|
||||||
|
|
||||||
EnterCriticalSection(FCriticalSection);
|
EnterCriticalSection(FCriticalSection);
|
||||||
SynMemoSQLLog.Lines.Add(Msg);
|
SynMemoSQLLog.Lines.Add(Msg);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user