parent
b0a48c3e18
commit
ea2bd901f7
|
@ -1376,7 +1376,19 @@ AC_ARG_ENABLE(convert-32-rgb-rot-90,
|
|||
# Setting have_valgrind to "no" seems pointless, but we just need to
|
||||
# put something in as the 4th parameter, so configure doesn't abort
|
||||
# when valgrind.pc isn't found.
|
||||
have_valgrind="no"
|
||||
PKG_CHECK_MODULES(VALGRIND, valgrind, have_valgrind=yes, have_valgrind=no)
|
||||
AC_ARG_ENABLE(valgrind,
|
||||
[ --enable-valgrind enable valgrind fixes to stop false reports], [
|
||||
if [ test "$enableval" = "yes" ]; then
|
||||
AC_MSG_RESULT(yes)
|
||||
have_valgrind="yes"
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
have_valgrind="no"
|
||||
fi
|
||||
], [ have_valgrind=$have_valgrind ]
|
||||
)
|
||||
|
||||
if test x$have_valgrind = "xyes"; then
|
||||
AC_DEFINE(HAVE_VALGRIND, 1, [Valgrind support])
|
||||
|
|
|
@ -59,7 +59,8 @@ export CFLAGS=-O9
|
|||
--disable-convert-32-bgrx-8888 \
|
||||
--disable-convert-32-rgb-rot-0 \
|
||||
--disable-convert-32-rgb-rot-270 \
|
||||
--disable-convert-32-rgb-rot-90
|
||||
--disable-convert-32-rgb-rot-90 \
|
||||
--disable-valgrind
|
||||
|
||||
INST="/tmp/"$PROJ"-instroot"
|
||||
sudo rm -rf $INST
|
||||
|
|
|
@ -253,8 +253,8 @@ evas_common_font_query_text_at_pos(RGBA_Font *fn, const char *text, int x, int y
|
|||
chr_w += (chr_x - prev_chr_end);
|
||||
chr_x = prev_chr_end;
|
||||
}
|
||||
if ((x >= chr_x) && (x < (chr_x + chr_w)) &&
|
||||
(y >= -asc) && (y < desc))
|
||||
if ((x >= chr_x) && (x <= (chr_x + chr_w)) &&
|
||||
(y >= -asc) && (y <= desc))
|
||||
{
|
||||
if (cx) *cx = chr_x;
|
||||
if (cy) *cy = -asc;
|
||||
|
|
Loading…
Reference in New Issue