From 45ea75752ab7fb0988de8d121b2be4f005e82e09 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Mon, 21 Dec 2009 11:31:58 +0000 Subject: [PATCH] Fix empty returning string, broken in r2890. Fixes issue #1549 and various other places where esc() is called. --- source/helpers.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/helpers.pas b/source/helpers.pas index 65d4f2a0..961e17c0 100644 --- a/source/helpers.pas +++ b/source/helpers.pas @@ -1597,7 +1597,7 @@ end; function esc(Text: WideString; ProcessJokerChars: Boolean=false): WideString; begin - Mainform.Connection.EscapeString(Text, ProcessJokerChars); + Result := Mainform.Connection.EscapeString(Text, ProcessJokerChars); end;