Browse Source

avoid superfluous path delim

Johann ELSASS 1 năm trước cách đây
mục cha
commit
f46e0bb8ea
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lazpaint/umenu.pas

+ 1 - 1
lazpaint/umenu.pas

@@ -305,7 +305,7 @@ begin
     items.Sorted := true;
     try
       repeat
-        fullname := path+PathDelim+searchRec.Name;
+        fullname := ConcatPaths([path, searchRec.Name]);
         if FileExistsUTF8(fullname) then
         begin
           title := GetScriptTitle(fullname);