浏览代码

* patch by Cyrax: Quote path - which is passed to Windres or alike program, resolves #36526

florian 3 年之前
父节点
当前提交
971d7baa8a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/comprsrc.pas

+ 1 - 0
compiler/comprsrc.pas

@@ -266,6 +266,7 @@ var
     for I:=1 to Length(Result) do
     if Result[I] in AllowDirectorySeparators then
       Result[i]:='/';
+    Result:=maybequoted(Result);
   end;
 
 begin