* src/winfonts/winfnt.c (fnt_face_get_dll_font): Unwrap arithmetic.

This commit is contained in:
Alexei Podtelezhnikov 2024-08-01 21:15:46 -04:00
parent 72e199e8d3
commit a48cdddef3
1 changed files with 2 additions and 2 deletions

View File

@ -359,8 +359,8 @@
if ( type_id == 0x8008U )
{
font_count = count;
font_offset = FT_STREAM_POS() + 4 +
(FT_ULong)( stream->cursor - stream->limit );
font_offset = FT_STREAM_POS() + 4 -
(FT_ULong)( stream->limit - stream->cursor );
break;
}