Enlightenment CVS committal
Author : codewarrior
Project : e17
Module : proto
Dir : e17/proto/etk/src/lib
Modified Files:
etk_image.c
Log Message:
- make sure we have a double
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_image.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- etk_image.c 16 Jan 2006 00:52:15 -0000 1.14
+++ etk_image.c 16 Jan 2006 01:15:12 -0000 1.15
@@ -487,7 +487,7 @@
int new_size;
evas_object_image_size_get(image->image_object, &image_w, &image_h);
- aspect_ratio = (double)image_w / image_h;
+ aspect_ratio = (double)image_w / (double)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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs