DIG: turn off subtitles in SMUSH if _noSubtitles is set

svn-id: r4599
This commit is contained in:
Paweł Kołodziejski 2002-07-19 06:37:28 +00:00
parent 7e6d2affa8
commit 0992c61976

View File

@ -1254,7 +1254,9 @@ void SmushPlayer::parseTRES()
printf("getStringTRES(%d)\n", READ_LE_UINT16(_cur + 16));
return;
}
if ((sm->_noSubtitles) && (READ_LE_UINT16(_cur + 4) != 0))
return;
byte * txt = getStringTRES (READ_LE_UINT16(_cur + 16));
drawStringTRES (READ_LE_UINT16(_cur), READ_LE_UINT16(_cur + 2), txt);
if (txt != NULL)