Enlightenment CVS committal Author : codewarrior Project : e17 Module : proto
Dir : e17/proto/etk/src/lib Modified Files: etk_image.c Log Message: - nasty float was causing calculation problems that would remove a pixel from the image's width / height =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_image.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- etk_image.c 15 Jan 2006 11:07:16 -0000 1.13 +++ etk_image.c 16 Jan 2006 00:52:15 -0000 1.14 @@ -482,12 +482,12 @@ { if (image->keep_aspect) { - float aspect_ratio; + double aspect_ratio; int image_w, image_h; int new_size; evas_object_image_size_get(image->image_object, &image_w, &image_h); - aspect_ratio = (float)image_w / image_h; + aspect_ratio = (double)image_w / image_h; if (geometry.h * aspect_ratio > geometry.w) { ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs