From 253e59bbf380d809985161b5f97162eacdab8d90 Mon Sep 17 00:00:00 2001 From: robi Date: Wed, 25 Jul 2012 22:01:22 +0000 Subject: Bug #18680 Error in histogram display --- src/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util.c b/src/util.c index 1b9053d..78f2658 100644 --- a/src/util.c +++ b/src/util.c @@ -176,20 +176,20 @@ for (group = 0 ; group < fs->group_desc_count ; group++){ ext2fs_le32_to_cpu(inode->i_crtime) : 0 ; for (j=1;j <= cm ; j++){ - if ((d_time < hist[j].time) && (d_time > hist[j-1].time)){ + if ((d_time <= hist[j].time) && (d_time > hist[j-1].time)){ hist[j].d_count++; break; } if (cr_time){ - if ((cr_time < hist[j].time) && (cr_time > hist[j-1].time)){ + if ((cr_time <= hist[j].time) && (cr_time > hist[j-1].time)){ hist[j].cr_count++; crt_found = 1; cr_time = 0 ; } } - if ((c_time < hist[j].time) && (c_time > hist[j-1].time)){ + if ((c_time <= hist[j].time) && (c_time > hist[j-1].time)){ hist[j].c_count++; break; } -- cgit v1.2.3