elm route: Fixed formatting.
authorseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 30 Jun 2011 01:35:41 +0000 (01:35 +0000)
committerseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 30 Jun 2011 01:35:41 +0000 (01:35 +0000)
git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@60850 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_route.c

index e0f5f63..0f476ce 100644 (file)
@@ -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;