VirtualBox

Changeset 33560 in vbox


Ignore:
Timestamp:
Oct 28, 2010 2:25:30 PM (14 years ago)
Author:
vboxsync
Message:

iprt/uni.h: fixed typos preventing the flag lookups from linking and working correctly.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/uni.h

    r31418 r33560  
    126126        {
    127127            if (pCur->BeginCP <= CodePoint)
    128                 CodePoint = pCur->pafFlags[CodePoint - pCur->BeginCP];
     128                return pCur->pafFlags[CodePoint - pCur->BeginCP];
    129129            break;
    130130        }
    131131        pCur++;
    132132    } while (pCur->EndCP != RTUNICP_MAX);
    133     return CodePoint;
     133    return 0;
    134134}
    135135
  • trunk/src/VBox/Runtime/common/string/unidata.cpp

    r28800 r33560  
    2257022570
    2257122571
    22572 const RTUNIFLAGSRANGE g_aRTUniFlagRanges[] =
     22572const RTUNIFLAGSRANGE g_aRTUniFlagsRanges[] =
    2257322573{
    2257422574    { 0x000000, 0x003401, &g_afRTUniFlags0x000000[0] },
  • trunk/src/VBox/Runtime/common/string/uniread.cpp

    r33540 r33560  
    10201020     */
    10211021    Stream2Init();
    1022     Stream2Printf("const RTUNIFLAGSRANGE g_aRTUniFlagRanges[] =\n"
     1022    Stream2Printf("const RTUNIFLAGSRANGE g_aRTUniFlagsRanges[] =\n"
    10231023                  "{\n");
    10241024    RTUNICP i = 0;
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