diff options
author | robi <robi> | 2012-07-25 22:01:22 +0000 |
---|---|---|
committer | robi <robi> | 2012-07-25 22:01:22 +0000 |
commit | 253e59bbf380d809985161b5f97162eacdab8d90 (patch) | |
tree | 846f3dbf19f3d9d440563212d67ab80913b2e6ed /src | |
parent | aa8e94625c2f8506a5858615c7e767431cb634bd (diff) |
Bug #18680 Error in histogram display
Diffstat (limited to 'src')
-rw-r--r-- | src/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |