Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

Commit d0f8412

Browse files
Bugfix, empty files without special suffix will no longer be tracked as compressed files
1 parent 5bf5037 commit d0f8412

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

NppGZipFileViewer/Main.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ private static void OpenFile(ScNotification notification)
195195
return;
196196
}
197197
}
198-
if (Preferences.DecompressAll)
198+
if (Preferences.DecompressAll && gzContentStream.Length > 0)
199199
foreach (var compression in Preferences.EnumerateCompressions())
200200
{
201201
gzContentStream.Seek(0, SeekOrigin.Begin);

0 commit comments

Comments
 (0)