git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19832
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxString s;
if ( file.ReadAll(&s) )
{
wxString s;
if ( file.ReadAll(&s) )
{
- // (ab)use Replace() to find the number of "processor" strings
- size_t count = s.Replace(_T("processor"), _T(""));
+ // (ab)use Replace() to find the number of "processor: num" strings
+ size_t count = s.Replace(_T("processor\t:"), _T(""));
if ( count > 0 )
{
return count;
if ( count > 0 )
{
return count;