* builds/windows/ftsystem.c (FT_Stream_Open): Support UNICODE compilation.

update-zlib-sources
Alexei Podtelezhnikov 3 years ago
parent fed5521016
commit 5116f12963
  1. 4
      builds/windows/ftsystem.c

@ -217,8 +217,8 @@
return FT_THROW( Invalid_Stream_Handle );
/* open the file */
file = CreateFileA( filepathname, GENERIC_READ, FILE_SHARE_READ, NULL,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0 );
file = CreateFile( filepathname, GENERIC_READ, FILE_SHARE_READ, NULL,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0 );
if ( file == INVALID_HANDLE_VALUE )
{
FT_ERROR(( "FT_Stream_Open:" ));

Loading…
Cancel
Save