From cc34efca99c4275d0f799624fcd20ebd1963efaf Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Wed, 31 Jul 2013 22:55:50 +0200 Subject: [PATCH] Minor. --- builds/unix/configure.raw | 4 ++-- src/base/ftbitmap.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw index 9798dbe8c..acbe063d2 100644 --- a/builds/unix/configure.raw +++ b/builds/unix/configure.raw @@ -293,8 +293,8 @@ if test x$with_png != xno; then either set the LIBPNG_CFLAGS and LIBPNG_LDFLAGS environment variables, or pass `--without-png' to the `configure' script.]) elif test ${cross_compiling} = yes; then - AC_MSG_ERROR([`libpng-config' should not be used in cross-building, -set the LIBPNG_CFLAGS and LIBPNG_LDFLAGS environment, + AC_MSG_ERROR([`libpng-config' should not be used in cross-building; +either set the LIBPNG_CFLAGS and LIBPNG_LDFLAGS environment variables, or pass `--without-png' to the `configure' script.]) fi LIBPNG_CFLAGS="`libpng-config --cflags`" diff --git a/src/base/ftbitmap.c b/src/base/ftbitmap.c index d876108d2..182b1cc22 100644 --- a/src/base/ftbitmap.c +++ b/src/base/ftbitmap.c @@ -386,7 +386,7 @@ /* Short-circuit transparent color to avoid div-by-zero. */ - if (!a) + if ( !a ) return 0; /*