From: Daniel Juyung Seo Date: Thu, 30 Jun 2011 01:35:41 +0000 (+0000) Subject: elm route: Fixed formatting. X-Git-Tag: v1.0.0~2700 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f02f33b7344239bfaa88fde8f3ec9a67213ec554;p=platform%2Fupstream%2Felementary.git elm route: Fixed formatting. SVN revision: 60850 --- diff --git a/src/lib/elm_route.c b/src/lib/elm_route.c index e0f5f63..0f476ce 100644 --- a/src/lib/elm_route.c +++ b/src/lib/elm_route.c @@ -97,7 +97,7 @@ _sizing_eval(Evas_Object *obj) EINA_LIST_FOREACH(wd->segments, l, segment) { - if(wd->must_calc_segments || segment->must_calc) + if (wd->must_calc_segments || segment->must_calc) { #ifdef ELM_EMAP @@ -146,23 +146,23 @@ _update_lon_lat_min_max(Evas_Object *obj, double lon, double lat) { Widget_Data *wd = elm_widget_data_get(obj); - if(wd->lon_min > lon) + if (wd->lon_min > lon) { wd->lon_min = lon; wd->must_calc_segments = EINA_TRUE; } - if(wd->lat_min > lat) + if (wd->lat_min > lat) { wd->lat_min = lat; wd->must_calc_segments = EINA_TRUE; } - if(wd->lon_max < lon) + if (wd->lon_max < lon) { wd->lon_max = lon; wd->must_calc_segments = EINA_TRUE; } - if(wd->lat_max < lat) + if (wd->lat_max < lat) { wd->lat_max = lat; wd->must_calc_segments = EINA_TRUE; @@ -240,7 +240,7 @@ elm_route_emap_set(Evas_Object *obj, EMap_Route *emap) EINA_LIST_FOREACH(emap_route_nodes_get(wd->emap), l, node) { - if(node_prev) + if (node_prev) { Segment *segment = calloc(1, sizeof(Segment)); segment->node_start = node_prev;