formatting.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 30 Sep 2011 11:22:22 +0000 (11:22 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 30 Sep 2011 11:22:22 +0000 (11:22 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@63722 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_diskselector.c

index bab4bc3..c446f55 100644 (file)
@@ -83,9 +83,11 @@ _diskselector_object_resize(void *data, Evas *e __UNUSED__, Evas_Object *obj, vo
    wd = elm_widget_data_get(data);
    if (!wd) return;
 
-   if (wd->minw == -1 && wd->minh == -1) elm_coords_finger_size_adjust(6, &wd->minw, 1, &wd->minh);
-   edje_object_size_min_restricted_calc(elm_smart_scroller_edje_object_get(
-         wd->scroller), &wd->minw, &wd->minh, wd->minw, wd->minh);
+   if ((wd->minw == -1) && (wd->minh == -1))
+      elm_coords_finger_size_adjust(6, &wd->minw, 1, &wd->minh);
+   edje_object_size_min_restricted_calc
+      (elm_smart_scroller_edje_object_get
+          (wd->scroller), &wd->minw, &wd->minh, wd->minw, wd->minh);
    evas_object_size_hint_min_set(obj, wd->minw, wd->minh);
    evas_object_size_hint_max_set(obj, -1, -1);