Fix rogue if check

This commit is contained in:
jonschz 2025-05-24 15:21:26 +02:00
parent 2a0e989a65
commit d52af801a0

View File

@ -391,8 +391,8 @@ void DecodeSS2(LPBITMAPINFOHEADER p_bitmapHeader, BYTE* p_pixelData, BYTE* p_dat
if (token >= 0) {
goto column_loop;
}
// TODO: Can't get this if-check to be quite right. Union type didn't help either
if (token & 0x4000) {
if ((unsigned short) token & 0x4000) {
goto skip_lines;
}