VirtualBox

Ignore:
Timestamp:
May 1, 2017 11:22:51 PM (8 years ago)
Author:
vboxsync
Message:

iprt/string.h,iprt/utf16.h: Added some big endian UTF-16 related functions/features.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/strformatrt.cpp

    r66731 r66734  
    740740                                cch += pfnOutput(pvArgOutput, szBuf, pszEnd - szBuf);
    741741#else
    742                                 char ch = (char)(*pwszStr++ >> 8);
    743                                 cch += pfnOutput(pvArgOutput, &ch, 1);
     742                                szBuf[0] = (char)(*pwszStr++ >> 8);
     743                                cch += pfnOutput(pvArgOutput, szBuf, 1);
    744744#endif
    745745                            }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette