Procházet zdrojové kódy

Patch from Paul and Dmitry: properly quote resource list file parameter for fpcres
(fixes resource compilation when spaces are in the path)

git-svn-id: trunk@14824 -

giulio2 před 15 roky
rodič
revize
dc4769adf3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/comprsrc.pas

+ 1 - 1
compiler/comprsrc.pas

@@ -288,7 +288,7 @@ begin
       if fCollectCount=0 then
         s:=s+' '+maybequoted(fname)
       else
-        s:=s+' @'+maybequoted(fScriptName);
+        s:=s+' '+maybequoted('@'+fScriptName);
     end;
   { windres doesn't like empty include paths }
   if respath='' then