VirtualBox

Changeset 7430 in vbox for trunk/src/VBox/Main/glue


Ignore:
Timestamp:
Mar 12, 2008 10:16:03 AM (17 years ago)
Author:
vboxsync
Message:

RTUCS2 -> RTUTF16

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/com.cpp

    r7418 r7430  
    119119            if (RT_SUCCESS (RTStrCurrentCPToUtf8 (&utf8IName, iname)))
    120120            {
    121                 PRTUCS2 ucs2IName = NULL;
    122                 if (RT_SUCCESS (RTStrToUtf16 (utf8IName, &ucs2IName)))
     121                PRTUTF16 utf16IName = NULL;
     122                if (RT_SUCCESS (RTStrToUtf16 (utf8IName, &utf16IName)))
    123123                {
    124                     *aName = SysAllocString ((OLECHAR *) ucs2IName);
    125                     RTUtf16Free (ucs2IName);
     124                    *aName = SysAllocString ((OLECHAR *) utf16IName);
     125                    RTUtf16Free (utf16IName);
    126126                }
    127127                RTStrFree (utf8IName);
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