From 83ec6f20589940f84b25efd1b2410674299aabdd Mon Sep 17 00:00:00 2001 From: ShengHuo ZHU Date: Tue, 20 Aug 2002 07:57:01 +0000 Subject: [PATCH] * nnmh.el (nnmh-request-list-1): Use %.0f instead of %d to avoid arithmetic errors. --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/nnmh.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index bb2fe61255a..b028c6ffb9f 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2002-08-20 ShengHuo ZHU + + * nnmh.el (nnmh-request-list-1): Use %.0f instead of %d to + avoid arithmetic errors. + 2002-07-06 ShengHuo ZHU * gnus-topic.el (gnus-topic-indent, gnus-topic-unindent): Change diff --git a/lisp/gnus/nnmh.el b/lisp/gnus/nnmh.el index fb1ad637dc3..aa4a3cd04f0 100644 --- a/lisp/gnus/nnmh.el +++ b/lisp/gnus/nnmh.el @@ -1,6 +1,6 @@ ;;; nnmh.el --- mhspool access for Gnus -;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 +;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2002 ;; Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen @@ -232,7 +232,7 @@ as unread by Gnus.") (goto-char (point-max)) (insert (format - "%s %d %d y\n" + "%s %.0f %.0f y\n" (progn (string-match (regexp-quote -- 2.39.2