瀏覽代碼

avoid superfluous path delim

Johann ELSASS 1 年之前
父節點
當前提交
f46e0bb8ea
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);