From c3e54a46feaf54fb8b9651f43573cc51d3a6e504 Mon Sep 17 00:00:00 2001
From: Sebastião Guerra <sebastiao.luiz.guerra@gmail.com>
Date: Wed, 26 Aug 2026 22:06:38 -0300
Subject: Fix gzip archive size comments
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Correct the gzip listing comments to match the output of gzip -l:
the first field is the compressed size and the second field is the
uncompressed size.

Reported by Antonio Diaz Diaz in TDE/krusader#2.

Signed-off-by: Sebastião Guerra <sebastiao.luiz.guerra@gmail.com>
---
 src/krArc/krarc.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/krArc/krarc.cpp b/src/krArc/krarc.cpp
index 6eb3bfc..9097c56 100644
--- a/src/krArc/krarc.cpp
+++ b/src/krArc/krarc.cpp
@@ -1048,9 +1048,9 @@ void tdeio_krarcProtocol::parseLine(int lineNo, TQString line, TQFile*) {
 	}
 	if( arcType == "gzip" ){
 		if( !lineNo ) return; //ignore the first line
-		// first field is uncompressed size - ignore it
+		// first field is compressed size - ignore it
 		nextWord(line);
-		// size
+		// uncompressed size
 		size = nextWord(line).toULong();
 		// ignore the next field
 		nextWord(line);
-- 
cgit v1.2.3

