From 70569550f7cb9673a9f0ef9a5815527f73eee253 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 7 Sep 2001 12:42:12 +0000 Subject: [PATCH] (archive-dostime): Fix a typo in minutes' computation. --- lisp/ChangeLog | 5 +++++ lisp/arc-mode.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ca57a827888..249e46e06e8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2001-09-07 Eli Zaretskii + + * arc-mode.el (archive-dostime): Fix a typo in minutes' + computation. + 2001-09-07 Gerd Moellmann * server.el (server-switch-buffer): Use get-window-with-predicate. diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el index 3a0c2321232..987f29f1540 100644 --- a/lisp/arc-mode.el +++ b/lisp/arc-mode.el @@ -447,7 +447,7 @@ the mode is invalid. If ERROR is nil then nil will be returned." (defun archive-dostime (time) "Stringify dos packed TIME record." (let ((hour (logand (ash time -11) 31)) - (minute (logand (ash time -5) 53)) + (minute (logand (ash time -5) 63)) (second (* 2 (logand time 31)))) ; 2 seconds resolution (format "%02d:%02d:%02d" hour minute second))) -- 2.39.2