summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-01-06 22:54:51 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-01-06 22:54:51 +0000
commitff86d2766313980961245d3cde25b79c80e07330 (patch)
tree2553ac1e1638ba3f972149e4ad35e19303eb9af9
parentb4c473c21a006a647e6c21964ed27588cb5f2680 (diff)
found divide by 0 in some circumstances -> fix.
SVN revision: 44932
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_image.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_object_image.c b/legacy/evas/src/lib/canvas/evas_object_image.c
index 60cb19a9cf..c1b0663887 100644
--- a/legacy/evas/src/lib/canvas/evas_object_image.c
+++ b/legacy/evas/src/lib/canvas/evas_object_image.c
@@ -2676,7 +2676,9 @@ evas_object_image_render_pre(Evas_Object *obj)
2676 if ((o->cur.border.l == 0) && 2676 if ((o->cur.border.l == 0) &&
2677 (o->cur.border.r == 0) && 2677 (o->cur.border.r == 0) &&
2678 (o->cur.border.t == 0) && 2678 (o->cur.border.t == 0) &&
2679 (o->cur.border.b == 0)) 2679 (o->cur.border.b == 0) &&
2680 (o->cur.image.w > 0) &&
2681 (o->cur.image.h > 0))
2680 { 2682 {
2681 Eina_Rectangle *rr; 2683 Eina_Rectangle *rr;
2682 2684