forked from enlightenment/efl
only lround 2 times instead of 4 for map - minor bit of cleaner code.
SVN revision: 66108
This commit is contained in:
parent
844431ed06
commit
b0ddea7508
|
@ -81,10 +81,8 @@ _evas_map_calc_map_geometry(Evas_Object *obj)
|
||||||
|
|
||||||
p = obj->cur.map->points;
|
p = obj->cur.map->points;
|
||||||
p_end = p + obj->cur.map->count;
|
p_end = p + obj->cur.map->count;
|
||||||
x1 = lround(p->x);
|
x1 = x2 = lround(p->x);
|
||||||
x2 = lround(p->x);
|
y1 = y2 = lround(p->y);
|
||||||
y1 = lround(p->y);
|
|
||||||
y2 = lround(p->y);
|
|
||||||
p++;
|
p++;
|
||||||
for (; p < p_end; p++)
|
for (; p < p_end; p++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue