From: ueno Date: Fri, 15 Sep 2006 03:43:16 +0000 (+0000) Subject: Fixed. X-Git-Tag: epg-0_0_6~20 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2faa2af283d725fa5d59ad5fad05a443f56ac89c;p=elisp%2Fepg.git Fixed. --- diff --git a/epg.el b/epg.el index 6ba12fe..23707de 100644 --- a/epg.el +++ b/epg.el @@ -1305,7 +1305,8 @@ This function is for internal use only." (defun epg-progress-callback-function (context what char current total handback) - (message "%s: %d%% (%d/%d)" what (if (> total 0) (/ current 1.0 total) 0) + (message "%s: %d%% (%d/%d)" what + (if (> total 0) (floor (* (/ current (float total)) 100)) 0) current total)) (defun epg--list-keys-1 (context name mode)