wineps: Avoid sizeof in a trace.

This commit is contained in:
Alexandre Julliard 2015-10-14 20:37:40 +09:00
parent 5ae2b5ae93
commit 36a88cdb11
1 changed files with 1 additions and 1 deletions

View File

@ -656,7 +656,7 @@ static void get_post2_custom_glyph_name(BYTE *post2header, DWORD size, WORD inde
if(name_offset + sizeof(BYTE) > size)
{
FIXME("Pascal name offset '%d' exceeds PostScript Format 2 table size (%d)\n",
name_offset + sizeof(BYTE), size);
name_offset + 1, size);
return;
}
name_length = (post2header + name_offset)[0];