aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/e-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c
index 18975375e6..204a2c3ad9 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -786,7 +786,7 @@ e_format_number (gint number)
grouping++;
case 0:
divider = epow10(last_count);
- if(!list && (number/divider) > 0) {
+ if((!list && (number/divider) > 0) || number > divider) {
group = g_strdup_printf("%0*d", initial_grouping, number % divider);
} else {
group = g_strdup_printf("%d", number % divider);