forked from organicmaps/organicmaps
Crash on right click
This commit is contained in:
parent
12db9718fb
commit
753b0bf203
1 changed files with 1 additions and 1 deletions
|
@ -1477,7 +1477,7 @@ graphics::OverlayElement const * GetClosestToPivot(list<graphics::OverlayElement
|
|||
m2::PointD const & pxPoint)
|
||||
{
|
||||
double dist = numeric_limits<double>::max();
|
||||
graphics::OverlayElement const * res;
|
||||
graphics::OverlayElement const * res = NULL;
|
||||
|
||||
for (list<graphics::OverlayElement const *>::const_iterator it = l.begin();
|
||||
it != l.end();
|
||||
|
|
Loading…
Add table
Reference in a new issue