Browse Source

FIX: ListLoad - pass directory name with trailing slash (fixes #2041)

Alexander Koblov 3 months ago
parent
commit
14698a233e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/fviewer.pas

+ 1 - 1
src/fviewer.pas

@@ -1757,7 +1757,7 @@ begin
     begin
       if WlxPlugins.GetWlxModule(I).FileParamVSDetectStr(AFileName, bForce) then
       begin
-        if LoadPlugin(AFileName, I, ShowFlags) then Exit(True);
+        if LoadPlugin(sFileName, I, ShowFlags) then Exit(True);
       end;
     end;
   end;