Ignore:
Timestamp:
Feb 14, 2006 9:03:15 PM (18 years ago)
Author:
bennylp
Message:

Changed the unicode functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/file_io_win32.c

    r126 r181  
    4545                                  pj_oshandle_t *fd) 
    4646{ 
    47     PJ_DECL_UNICODE_TEMP_BUF(wpathname,256); 
     47    PJ_DECL_UNICODE_TEMP_BUF(wpathname,256) 
    4848    HANDLE hFile; 
    4949    DWORD dwDesiredAccess = 0; 
     
    7979    dwFlagsAndAttributes = FILE_ATTRIBUTE_NORMAL; 
    8080 
    81     hFile = CreateFile(PJ_STRING_TO_NATIVE(pathname,wpathname),  
     81    hFile = CreateFile(PJ_STRING_TO_NATIVE(pathname,wpathname,sizeof(wpathname)),  
    8282                       dwDesiredAccess, dwShareMode, NULL, 
    8383                       dwCreationDisposition, dwFlagsAndAttributes, NULL); 
Note: See TracChangeset for help on using the changeset viewer.