#include "ICMUI.H"
Go to the source code of this file.
Definition at line 238 of file stringar.cpp.
References CString::IsEmpty(), and CString::m_acContents.
00238 { 00239 if (!lpstrRef || !*lpstrRef) 00240 return csRef; 00241 00242 if (csRef.IsEmpty()) 00243 return lpstrRef; 00244 00245 CString csReturn; 00246 00247 csReturn.m_acContents = (LPTSTR) malloc((1 + lstrlen(csRef.m_acContents) + 00248 lstrlen(lpstrRef)) * sizeof(TCHAR)); 00249 if(csReturn.m_acContents) { 00250 lstrcat(lstrcpy(csReturn.m_acContents, csRef.m_acContents), lpstrRef); 00251 } 00252 00253 return csReturn; 00254 }