aboutsummaryrefslogtreecommitdiff
path: root/src/scaling-report.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scaling-report.c')
-rw-r--r--src/scaling-report.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scaling-report.c b/src/scaling-report.c
index 330b3af2..785c761f 100644
--- a/src/scaling-report.c
+++ b/src/scaling-report.c
@@ -403,6 +403,7 @@ static void scale_factor_histogram(cairo_t *cr, const struct image *images,
osf_max = 0.0;
for ( i=0; i<n; i++ ) {
double osf = images[i].osf;
+ if ( images[i].pr_dud ) continue;
if ( osf > osf_max ) osf_max = osf;
}
osf_max = ceil(osf_max+osf_max/10000.0);
@@ -425,6 +426,8 @@ static void scale_factor_histogram(cairo_t *cr, const struct image *images,
double osf = images[i].osf;
+ if ( images[i].pr_dud ) continue;
+
for ( b=0; b<nbins; b++ ) {
if ( (osf >= osf_low[b])
&& (osf < osf_high[b]) )