From 4075c56ad3eb00b604056fe4e022447d6a655ab4 Mon Sep 17 00:00:00 2001 From: mattias Date: Fri, 30 Jul 2010 05:26:14 +0000 Subject: [PATCH] codetools: fixed UTF8 for RunTool git-svn-id: trunk@26909 - --- components/codetools/definetemplates.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/codetools/definetemplates.pas b/components/codetools/definetemplates.pas index 60491c76db..bb09f35bfa 100644 --- a/components/codetools/definetemplates.pas +++ b/components/codetools/definetemplates.pas @@ -1177,7 +1177,7 @@ begin debugln(['RunTool ',Filename,' ',Params]); TheProcess := TProcess.Create(nil); try - CmdLine:=UTF8ToSys(Filename); + CmdLine:=Filename; if (System.Pos(' ',CmdLine)>0) and (CmdLine[1]<>'"') then CmdLine:='"'+CmdLine+'"'; if Params<>'' then