Explorar o código

avoid superfluous path delim

Johann ELSASS hai 1 ano
pai
achega
f46e0bb8ea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);