From ad38bc6ecb80ddeb562841b33258dd53659b1da6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 24 Aug 2020 18:44:51 +0200 Subject: New upstream version 1.0.31 --- backend/gt68xx_high.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/gt68xx_high.c') diff --git a/backend/gt68xx_high.c b/backend/gt68xx_high.c index 782b4f3..563323c 100644 --- a/backend/gt68xx_high.c +++ b/backend/gt68xx_high.c @@ -97,7 +97,7 @@ gt68xx_calibrator_new (SANE_Int width, cal->white_line = (double *) malloc (width * sizeof (double)); cal->black_line = (double *) malloc (width * sizeof (double)); - if (!cal->k_white || !cal->k_black | !cal->white_line || !cal->black_line) + if (!cal->k_white || !cal->k_black || !cal->white_line || !cal->black_line) { DBG (5, "gt68xx_calibrator_new: no memory for calibration data\n"); gt68xx_calibrator_free (cal); -- cgit v1.2.3