Ticket #4701: compat_nonunicode.patch

File compat_nonunicode.patch, 543 bytes (added by andrei@…, 12 years ago)
  • libs/libmyth/compat.h

     
    198198    static char errStr[DLERR_MAX];
    199199    DWORD       errCode = GetLastError();
    200200
    201     if (!FormatMessage (FORMAT_MESSAGE_FROM_SYSTEM |
     201    if (!FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM |
    202202                        FORMAT_MESSAGE_IGNORE_INSERTS |
    203203                        FORMAT_MESSAGE_MAX_WIDTH_MASK,
    204204                        NULL, errCode,