Changeset 62892 in vbox for trunk/src/VBox/Runtime/common/string
- Timestamp:
- Aug 3, 2016 8:46:35 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/strformatrt.cpp
r62564 r62892 710 710 const char *pszStart; 711 711 const char *psz = pszStart = va_arg(*pArgs, const char *); 712 int cAngle = 0; 713 712 714 if (!VALID_PTR(psz)) 713 715 return pfnOutput(pvArgOutput, RT_STR_TUPLE("<null>")); … … 720 722 while ((ch = *psz) != '\0' && (RT_C_IS_BLANK(ch) || ch == '(')) 721 723 psz++; 722 if (ch )724 if (ch && cAngle == 0) 723 725 pszStart = psz; 724 726 } 725 727 else if (ch == '(') 726 728 break; 729 else if (ch == '<') 730 { 731 cAngle++; 732 psz++; 733 } 734 else if (ch == '>') 735 { 736 cAngle--; 737 psz++; 738 } 727 739 else 728 740 psz++;
Note:
See TracChangeset
for help on using the changeset viewer.