浏览代码

fix filename test

circular17 6 年之前
父节点
当前提交
81cf968e25
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lazpaint/image/uimage.pas

+ 2 - 2
lazpaint/image/uimage.pas

@@ -482,9 +482,9 @@ end;
 
 
 procedure TLazPaintImage.UpdateMultiImage(AOutputFilename: string = '');
 procedure TLazPaintImage.UpdateMultiImage(AOutputFilename: string = '');
 begin
 begin
-  if not FileManager.FileExists(AOutputFilename) then
+  if not FileManager.FileExists(currentFilenameUTF8) then
   begin
   begin
-    ShowMessage(rsFileNotFound);
+    ShowMessage(rsFileNotFound + LineEnding + LineEnding + currentFilenameUTF8);
     exit;
     exit;
   end;
   end;
   if IsIconCursor then
   if IsIconCursor then