forked from enlightenment/efl
parent
857af86916
commit
3e80a14632
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue