mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2026-04-09 13:32:31 +02:00
Fix Windows builds pt 3 (Issue #18)
This commit is contained in:
@@ -1433,7 +1433,7 @@ _pdfio_win32_open(const char *filename, // I - UTF-8 filename
|
||||
|
||||
// Convert the UTF-8 string to UTF-16...
|
||||
utf16ptr = utf16name;
|
||||
while (*filename && utf16ptr < (utf16name + sizeof(utf16name) / sizeof(utf16name[0]) - 2);)
|
||||
while (*filename && utf16ptr < (utf16name + sizeof(utf16name) / sizeof(utf16name[0]) - 2))
|
||||
{
|
||||
if ((unich = *filename++) & 0x80)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user