raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a01ba5718d73d5102f3bf602d7799d28c0546c93

commit a01ba5718d73d5102f3bf602d7799d28c0546c93
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Oct 14 12:41:28 2013 +0900

    evas - small buglet. image size of up to but NOT including 32768 are valid
---
 src/lib/evas/canvas/evas_object_image.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_image.c 
b/src/lib/evas/canvas/evas_object_image.c
index 00c1cf6..5b2ef93 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -1258,8 +1258,8 @@ _image_size_set(Eo *eo_obj, void *_pd, va_list *list)
    _evas_object_image_cleanup(eo_obj, obj, o);
    if (w < 1) w = 1;
    if (h < 1) h = 1;
-   if (w > 32768) return;
-   if (h > 32768) return;
+   if (w >= 32768) return;
+   if (h >= 32768) return;
    if ((w == o->cur->image.w) &&
        (h == o->cur->image.h)) return;
 

-- 


Reply via email to