mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Still wrong... Fixed the broken mask.
This commit is contained in:
parent
9b73b0f70e
commit
5bc7487c3a
@ -57,9 +57,9 @@ static QMap<uint,uint> orderMap = orderMapInit();
|
||||
|
||||
static uint order(uint type)
|
||||
{
|
||||
uint st = (type>>16 == BUAARE) ? type : type & 0xFFFF;
|
||||
uint st = ((type>>16) == BUAARE) ? type : (type & 0xFFFF0000);
|
||||
QMap<uint, uint>::const_iterator it = orderMap.find(st);
|
||||
return (it == orderMap.constEnd()) ? type + 512 : it.value();
|
||||
return (it == orderMap.constEnd()) ? (type>>16) + 512 : it.value();
|
||||
}
|
||||
|
||||
static void warning(const ISO8211::Field &FRID, uint PRIM)
|
||||
|
Loading…
Reference in New Issue
Block a user