win32u: Use debugstr_fourcc instead of debugstr_an.

This commit is contained in:
Alex Henrie 2023-10-16 23:32:53 -06:00 committed by Alexandre Julliard
parent 43598133e6
commit 344eee2024

View file

@ -2058,7 +2058,7 @@ static UINT freetype_get_font_data( struct gdi_font *font, UINT table, UINT offs
err = pFT_Load_Sfnt_Table(ft_face, RtlUlongByteSwap(table), offset, buf, &len);
if (err)
{
TRACE("Can't find table %s\n", debugstr_an((char*)&table, 4));
TRACE("Can't find table %s\n", debugstr_fourcc(table));
return GDI_ERROR;
}
return len;
@ -4010,7 +4010,7 @@ static UINT freetype_get_unicode_ranges( struct gdi_font *font, GLYPHSET *gs )
else
{
DWORD encoding = RtlUlongByteSwap(ft_face->charmap->encoding);
FIXME("encoding %s not supported\n", debugstr_an((char *)&encoding, 4));
FIXME("encoding %s not supported\n", debugstr_fourcc(encoding));
}
return num_ranges;
@ -4175,7 +4175,7 @@ static UINT freetype_get_kerning_pairs( struct gdi_font *font, KERNINGPAIR **pai
DWORD encoding = RtlUlongByteSwap(ft_face->charmap->encoding);
ULONG n;
FIXME("encoding %s not supported\n", debugstr_an((char *)&encoding, 4));
FIXME("encoding %s not supported\n", debugstr_fourcc(encoding));
for (n = 0; n <= 65535; n++)
glyph_to_char[n] = (USHORT)n;
}