rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=1e926c44966165550955c9d1cf9111b657bbd908

commit 1e926c44966165550955c9d1cf9111b657bbd908
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Tue Feb 2 17:52:48 2016 +0200

    container: remove unused calculation
---
 src/bin/ui/container/container.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/bin/ui/container/container.c b/src/bin/ui/container/container.c
index 5e6b24d..6110e01 100644
--- a/src/bin/ui/container/container.c
+++ b/src/bin/ui/container/container.c
@@ -279,7 +279,6 @@ _mouse_move_hBR_cb(void *data,
 
    /* calc wigth and heght */
    TODO("need do refactoring here")
-   nw = w + dx;
    if (sd->size->w + H_WIGTH + dx <= sd->con_size_min.w + H_WIGTH)
      nw = sd->con_size_min.w + H_WIGTH + sd->dx + sd->pad_left_top.w + 
sd->pad_right_bottom.w;
    else
@@ -290,7 +289,6 @@ _mouse_move_hBR_cb(void *data,
         else nw = w + dx;
      }
 
-   nh = h + dy;
    if (sd->size->h + H_HEIGHT + dy <= sd->con_size_min.h + H_HEIGHT)
      nh = sd->con_size_min.h + H_HEIGHT + sd->dy + sd->pad_left_top.h + 
sd->pad_right_bottom.h;
    else

-- 


Reply via email to