Browse Source

Be like SevenZipDLLDecoder again.

Martijn Laan 3 months ago
parent
commit
8e10a447fe
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Projects/Src/Compression.SevenZipDecoder.pas

+ 2 - 1
Projects/Src/Compression.SevenZipDecoder.pas

@@ -305,7 +305,8 @@ begin
   if DestDir = '' then
   if DestDir = '' then
     InternalError('Extract7ZipArchive: Invalid DestDir value');
     InternalError('Extract7ZipArchive: Invalid DestDir value');
 
 
-  LogFmt('Extracting 7-Zip archive %s to %s. Full paths? %s', [ArchiveFileName, DestDir, SYesNo[FullPaths]]);
+  LogFmt('Extracting 7-Zip archive %s to %s. Full paths? %s', [ArchiveFileName,
+    RemoveBackslashUnlessRoot(DestDir), SYesNo[FullPaths]]);
 
 
   if Password <> '' then begin
   if Password <> '' then begin
     Log('ERROR: Password not supported by basic archive extraction'); { Just like 7zMain.c }
     Log('ERROR: Password not supported by basic archive extraction'); { Just like 7zMain.c }