Enlightenment CVS committal
Author : rephorm
Project : e17
Module : apps/elicit
Dir : e17/apps/elicit/src
Modified Files:
callbacks.c
Log Message:
make sure zoom is >= 1 before trying to magnify
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/elicit/src/callbacks.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- callbacks.c 8 Feb 2004 18:05:52 -0000 1.6
+++ callbacks.c 8 Feb 2004 18:25:09 -0000 1.7
@@ -74,6 +74,9 @@
double w, h;
evas_object_geometry_get(el->shot, NULL, NULL, &sw, &sh);
+
+ if (el->zoom < 1.0) el->zoom = 1.0;
+
w = sw * (1 / el->zoom);
h = sh * (1 / el->zoom);
elicit_util_shoot(el->shot, (int)w, (int)h);
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs