diff --git a/x26triplets.cpp b/x26triplets.cpp index c473ac3..7493632 100644 --- a/x26triplets.cpp +++ b/x26triplets.cpp @@ -174,8 +174,8 @@ void X26TripletList::updateInternalData() triplet->m_reservedData = true; break; case 0x2d: // DRCS character - if (triplet->m_data >= 48) - // Should really be an error + if ((triplet->m_data & 0x3f) >= 48) + // Should really be an error? triplet->m_reservedData = true; }