mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-31 09:05:14 +01:00
Fixed broken points ordering
This commit is contained in:
parent
4f1f3e569b
commit
9b73b0f70e
@ -57,7 +57,7 @@ static QMap<uint,uint> orderMap = orderMapInit();
|
|||||||
|
|
||||||
static uint order(uint type)
|
static uint order(uint type)
|
||||||
{
|
{
|
||||||
uint st = (type>>16 == BUAARE) ? type : type && 0xFFFF;
|
uint st = (type>>16 == BUAARE) ? type : type & 0xFFFF;
|
||||||
QMap<uint, uint>::const_iterator it = orderMap.find(st);
|
QMap<uint, uint>::const_iterator it = orderMap.find(st);
|
||||||
return (it == orderMap.constEnd()) ? type + 512 : it.value();
|
return (it == orderMap.constEnd()) ? type + 512 : it.value();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user