From 0b6ab870592194e67dff5cba013d9d32acdf2d48 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Tue, 1 Dec 2009 22:37:25 +0100 Subject: A better way to escape format string --- UMain.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'UMain.pas') diff --git a/UMain.pas b/UMain.pas index 0950b83..8066949 100644 --- a/UMain.pas +++ b/UMain.pas @@ -2484,7 +2484,7 @@ begin else s := Format(LANGFileS, [string(Data^.FDisplayName)]); smsg := Format(LANGDoYouReallyWantToDeleteTheS, [s]); end; - if Application.MessageBox(EscapeFormatStr(smsg), [mbYes, mbNo], mbQuestion, mbNone, mbNo) <> mbYes then Exit; + if Application.MessageBox(smsg, [mbYes, mbNo], mbQuestion, mbNone, mbNo) <> mbYes then Exit; FindNextSelected(ListView, DataList, NextItem1, NextItem2); AWorkingThread := TWorkerThread.Create; -- cgit v1.2.3