entry: remove duplicated checking variable
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 13 Jan 2014 23:07:22 +0000 (08:07 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 13 Jan 2014 23:07:22 +0000 (08:07 +0900)
'top' variable was checked twice, so it's fixed.

src/lib/elm_entry.c

index e736b51..3324c8f 100644 (file)
@@ -1597,7 +1597,7 @@ _mouse_up_cb(void *data,
              top = elm_widget_top_get(data);
              if (top)
                {
-                  if (top && eo_isa(top, ELM_OBJ_WIN_CLASS))
+                  if (eo_isa(top, ELM_OBJ_WIN_CLASS))
                     top_is_win = EINA_TRUE;
 
                   if (top_is_win && sd->input_panel_enable && sd->input_panel_show_on_demand &&