From 2faa2af283d725fa5d59ad5fad05a443f56ac89c Mon Sep 17 00:00:00 2001 From: ueno Date: Fri, 15 Sep 2006 03:43:16 +0000 Subject: [PATCH] Fixed. --- epg.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 1.7.10.4