| 1171 | } |
| 1172 | |
| 1173 | void _AppendFormat(const tchar* pszFormat, va_list args) |
| 1174 | { |
| 1175 | if (pszFormat == NULL || *pszFormat == '\0') |
| 1176 | return; |
| 1177 | |
| 1178 | tchar* pszBuffer = NULL; |
| 1179 | int nLength = tchar_traits::Format(&pszBuffer, pszFormat, args); |
| 1180 | if (nLength > 0 && pszBuffer != NULL) |
| 1181 | { |
| 1182 | *this += TStringT(pszBuffer, nLength); |
| 1183 | soui_mem_wrapper::SouiFree(pszBuffer); |
| 1184 | } |
| 1185 | } |
| 1186 | |
| 1187 | // Assignment operators |
| 1188 | // All assign a new value to the string |