cnd / rpms / gzip

Forked from rpms/gzip 3 years ago
Clone
Blob Blame History Raw
--- gzip-1.3.5/unlzh.c.len	2006-11-22 09:35:10.000000000 +0100
+++ gzip-1.3.5/unlzh.c	2006-11-22 09:38:52.000000000 +0100
@@ -189,7 +189,7 @@
             }
             *p = ch;
         }
-        start[len] = nextcode;
+        start[len] = start[len] + weight[len];
     }
 }