From e7b302d89fd4e145b997efb9dc6b4430b7c91a02 Mon Sep 17 00:00:00 2001 From: Taehyub Kim Date: Tue, 30 May 2017 20:33:16 +0900 Subject: [PATCH] efl_ui_image_zoomable: fix wrong initial value for zoom mode Summary: fix wrong initial value for ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL mode @fix Test Plan: 1. set zoom mode of photocam to ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL in text_photocam.c example 2. run elementary_test -to photocam 3. check it is working well Reviewers: jpeg, cedric, raster, Hermet, singh.amitesh Reviewed By: singh.amitesh Differential Revision: https://phab.enlightenment.org/D4921 --- src/lib/elementary/efl_ui_image_zoomable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_image_zoomable.c b/src/lib/elementary/efl_ui_image_zoomable.c index 8a93f65..ff1d944 100644 --- a/src/lib/elementary/efl_ui_image_zoomable.c +++ b/src/lib/elementary/efl_ui_image_zoomable.c @@ -1944,7 +1944,7 @@ _efl_ui_image_zoomable_efl_ui_zoom_zoom_set(Eo *obj, Efl_Ui_Image_Zoomable_Data if ((sd->size.imw < 1) || (sd->size.imh < 1)) { sd->size.nw = 0; - sd->size.nw = 0; + sd->size.nh = 0; } else { -- 2.7.4