From f83854b049f2e2ad8b0af7d1d2ca003fb038e5be Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Mon, 24 Dec 2012 13:57:01 +0000 Subject: [PATCH] small fix --- configure.in | 5 ----- libvips/arithmetic/measure.c | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/configure.in b/configure.in index dade4754..dd0dcce6 100644 --- a/configure.in +++ b/configure.in @@ -268,11 +268,6 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", ALL_LINGUAS="en_GB de" AM_GLIB_GNU_GETTEXT -# C++ fails to compile mysteriously without gettext ... fail here -if test x"$gt_cv_have_gettext" != x"yes"; then - AC_MSG_ERROR([gettext not found]) -fi - # Checks for libraries. # build list of pkg-config packages we used here diff --git a/libvips/arithmetic/measure.c b/libvips/arithmetic/measure.c index 77d8a3dc..5017d2a9 100644 --- a/libvips/arithmetic/measure.c +++ b/libvips/arithmetic/measure.c @@ -162,7 +162,7 @@ vips_measure_build( VipsObject *object ) vips_warn( "VipsMeasure", _( "patch %d x %d, band %d: " "avg = %g, sdev = %g" ), - i, j, avg, dev ); + i, j, b, avg, dev ); *ARY( measure->out, b, i + j * measure->h ) = avg;