[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 5116f12: * builds/windows/ftsystem.c (FT_Stream_Open)
From: |
Werner Lemberg |
Subject: |
[freetype2] master 5116f12: * builds/windows/ftsystem.c (FT_Stream_Open): Support UNICODE compilation. |
Date: |
Tue, 17 Aug 2021 22:11:35 -0400 (EDT) |
branch: master
commit 5116f129633d05c174504fb3b2586b7f92cee17f
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>
* builds/windows/ftsystem.c (FT_Stream_Open): Support UNICODE compilation.
---
builds/windows/ftsystem.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/builds/windows/ftsystem.c b/builds/windows/ftsystem.c
index cb1c734..0a8d2b6 100644
--- a/builds/windows/ftsystem.c
+++ b/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:" ));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 5116f12: * builds/windows/ftsystem.c (FT_Stream_Open): Support UNICODE compilation.,
Werner Lemberg <=