git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43682
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// find the first * in our flag buffer
char *pwidth = strchr(m_szFlags, '*');
// find the first * in our flag buffer
char *pwidth = strchr(m_szFlags, '*');
+ wxCHECK_RET(pwidth, _T("field width must be specified"));
// save what follows the * (the +1 is to skip the asterisk itself!)
strcpy(temp, pwidth+1);
// save what follows the * (the +1 is to skip the asterisk itself!)
strcpy(temp, pwidth+1);