Преглед на файлове

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 преди 15 години
родител
ревизия
dc4769adf3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      compiler/comprsrc.pas

+ 1 - 1
compiler/comprsrc.pas

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