1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Still wrong... Fixed the broken mask.

This commit is contained in:
Martin Tůma 2022-11-11 11:26:15 +01:00
parent 9b73b0f70e
commit 5bc7487c3a

View File

@ -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)