summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrobi <robi>2012-07-25 22:01:22 +0000
committerrobi <robi>2012-07-25 22:01:22 +0000
commit253e59bbf380d809985161b5f97162eacdab8d90 (patch)
tree846f3dbf19f3d9d440563212d67ab80913b2e6ed /src
parentaa8e94625c2f8506a5858615c7e767431cb634bd (diff)
Bug #18680 Error in histogram display
Diffstat (limited to 'src')
-rw-r--r--src/util.c6
1 files 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;
}