Browse Source

avoid superfluous path delim

Johann ELSASS 1 year ago
parent
commit
f46e0bb8ea
1 changed files with 1 additions and 1 deletions
  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);