VirtualBox

Changeset 11376 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Aug 13, 2008 7:38:37 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
34626
Message:

RTStrFormat fix for aligned unicode strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstStrFormat.cpp

    r10905 r11376  
    415415
    416416
     417    cch = RTStrPrintf(szStr, sizeof(szStr), "%-10ls %-30ls %ls", L"cmd", L"args", L"description");
     418    CHECKSTR("cmd        args                           description");
     419
     420    cch = RTStrPrintf(szStr, sizeof(szStr), "%-10ls %-30ls %ls", L"cmd", L"", L"description");
     421    CHECKSTR("cmd                                       description");
     422
     423
    417424    cch = RTStrPrintf(szStr, sizeof(szStr),  "%*s", 0, "");
    418425    CHECKSTR("");
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