Fix a thinko in arc-mode.el
* lisp/arc-mode.el (archive-zip-summarize): Fix last change in the non-Zip64 case. (Bug#20769)
This commit is contained in:
parent
f1aa40f47d
commit
a04d35cb02
1 changed files with 2 additions and 2 deletions
|
|
@ -1841,8 +1841,8 @@ This doesn't recover lost files, it just undoes changes in the buffer itself."
|
|||
(or (string= "PK\006\006" (buffer-substring p (+ p 4)))
|
||||
(error "Unrecognized ZIP file format"))
|
||||
;; Offset to central directory:
|
||||
(setq p (+ (point-min)
|
||||
(archive-l-e (+ p 48) (if emacs-int-has-32bits 4 8)))))
|
||||
(setq p (archive-l-e (+ p 48) (if emacs-int-has-32bits 4 8))))
|
||||
(setq p (+ p (point-min)))
|
||||
(while (string= "PK\001\002" (buffer-substring p (+ p 4)))
|
||||
(let* ((creator (byte-after (+ p 5)))
|
||||
;; (method (archive-l-e (+ p 10) 2))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue