Pārlūkot izejas kodu

avoid superfluous path delim

Johann ELSASS 1 gadu atpakaļ
vecāks
revīzija
f46e0bb8ea
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lazpaint/umenu.pas

+ 1 - 1
lazpaint/umenu.pas

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