Browse Source

FIX: fix the filepath that need escaping

rich2014 1 năm trước cách đây
mục cha
commit
29cc734aaa
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/fmain.pas

+ 2 - 2
src/fmain.pas

@@ -6338,7 +6338,7 @@ begin
   if files.Count>0 then begin
     SetLength( filenames, files.Count );
     for i:=0 to files.Count-1 do begin
-      filenames[i]:= 'file://' + files[i].FullPath;
+      filenames[i]:= files[i].FullPath;
     end;
   end else begin
     activeFile:= ActiveFrame.CloneActiveFile;
@@ -6350,7 +6350,7 @@ begin
       FreeAndNil( activeFile );
       if path <> '' then begin
         SetLength( filenames, 1 );
-        filenames[0]:= 'file://' + path;
+        filenames[0]:= path;
       end;
     end;
   end;