int dy = y - cy;
int d2 = (dx*dx) + (dy*dy);
- ox = x;
- oy = y;
-
if (d2 > w2) {
ox = x;
oy = y;
{
struct zoom_area *za;
- za = malloc (sizeof (struct zoom_area));
+ za = calloc (1, sizeof (struct zoom_area));
reset_zoom (st, za);
return za;
"*numboxes: 2",
"*delay: 10000",
"*duration: 120",
-#ifdef USE_IPHONE
+#ifdef HAVE_MOBILE
"*ignoreRotation: True",
"*rotateImages: True",
#endif