Browse Source

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

florian 3 năm trước cách đây
mục cha
commit
971d7baa8a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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