1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-19 04:02:09 +01:00

Cosmetics

This commit is contained in:
Martin Tůma 2021-10-23 10:27:41 +02:00
parent a531b7859b
commit 37a4f80fbb
2 changed files with 4 additions and 7 deletions

View File

@ -581,10 +581,9 @@ bool RGNFile::segments(Handle &hdl, SubDiv *subdiv, SubDiv::Segment seg[5]) cons
bool RGNFile::subdivInit(Handle &hdl, SubDiv *subdiv) const
{
SubDiv::Segment seg[5];
SubDiv::Segment extPoints, extLines, extPolygons;
SubDiv::Segment std[5], extPoints, extLines, extPolygons;
if (!segments(hdl, subdiv, seg))
if (!segments(hdl, subdiv, std))
return false;
if (subdiv->extPointsOffset() != subdiv->extPointsEnd()) {
@ -609,8 +608,8 @@ bool RGNFile::subdivInit(Handle &hdl, SubDiv *subdiv) const
extLines = SubDiv::Segment(start, end);
}
subdiv->init(seg[Point], seg[IndexedPoint], seg[Line], seg[Polygon],
seg[RoadReference], extPoints, extLines, extPolygons);
subdiv->init(std[Point], std[IndexedPoint], std[Line], std[Polygon],
std[RoadReference], extPoints, extLines, extPolygons);
return true;
}

View File

@ -2,8 +2,6 @@
#define IMG_SUBDIV_H
#include <QtGlobal>
#include "common/coordinates.h"
#include "common/garmin.h"
namespace IMG {