* BUG: Make gb.qt4 compiles on ARM again.


git-svn-id: svn://localhost/gambas/trunk@5814 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2013-08-29 17:37:01 +00:00
parent 1952bfd047
commit 768a42416d

View file

@ -1264,7 +1264,15 @@ static void TransformMultiply(GB_TRANSFORM matrix, GB_TRANSFORM matrix2)
static void TransformMap(GB_TRANSFORM matrix, double *x, double *y)
{
((QTransform *)matrix)->map(*x, *y, x, y);
qreal xx, yy;
xx = *x;
yy = *y;
((QTransform *)matrix)->map(xx, yy, &xx, &yy);
*x = xx;
*y = yy;
}