[Commits] [SCM] claws branch, quota-info, updated. 4.3.1-53-g8bff07925

miras at claws-mail.org miras at claws-mail.org
Mon Mar 10 18:34:00 UTC 2025


The branch, quota-info has been updated
       via  8bff079251fe972bed1cb0b6de6c241912589b44 (commit)
      from  1865efb95544ab7bf35b671f548743b8df4ef3d2 (commit)

Summary of changes:
 src/summaryview.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 8bff079251fe972bed1cb0b6de6c241912589b44
Author: Michael Rasmussen <mir at datanom.net>
Date:   Mon Mar 10 19:33:47 2025 +0100

    Remove useless convertion to float
    
    Signed-off-by: Michael Rasmussen <mir at datanom.net>

diff --git a/src/summaryview.c b/src/summaryview.c
index b32adee9e..6d377a8e5 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -2771,10 +2771,10 @@ static void summary_status_show(SummaryView *summaryview)
 		g_free(str);
 
         if (has_quota) {
-		str = g_strdup_printf(_("%d new, %d unread, %d total (%s) [used: %.2f%%]"),
+		str = g_strdup_printf(_("%d new, %d unread, %d total (%s) [used: %d%%]"),
 				n_new, n_unread, n_total,
 				to_human_readable((goffset)n_size),
-				((size*100)/limit)*1.0);
+				(size*100)/limit);
 	} else {
 		str = g_strdup_printf(_("%d new, %d unread, %d total (%s)"),
 				n_new, n_unread, n_total,

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list