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; /*