* builds/windows/ftsystem.c (FT_Stream_Open): Support UNICODE compilation.
This commit is contained in:
parent
fed5521016
commit
5116f12963
|
@ -217,7 +217,7 @@
|
||||||
return FT_THROW( Invalid_Stream_Handle );
|
return FT_THROW( Invalid_Stream_Handle );
|
||||||
|
|
||||||
/* open the file */
|
/* open the file */
|
||||||
file = CreateFileA( filepathname, GENERIC_READ, FILE_SHARE_READ, NULL,
|
file = CreateFile( filepathname, GENERIC_READ, FILE_SHARE_READ, NULL,
|
||||||
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0 );
|
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0 );
|
||||||
if ( file == INVALID_HANDLE_VALUE )
|
if ( file == INVALID_HANDLE_VALUE )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue