- const size_t posColon = filename.find(_T(':'));
- if ( posColon != wxString::npos )
- {
- // parse line number (it's ok if it fails, this will just leave
- // line at its current, invalid, 0 value)
- wxString(filename, posColon + 1, wxString::npos).ToULong(&line);
-
- // remove line number from 'filename'
- filename.erase(posColon);
- if ( filename == _T("??") )
- filename.clear();
- }
- else
- {
- wxLogDebug(_T("Unexpected addr2line format: \"%s\" - ")
- _T("the semicolon is missing"),
- filename.c_str());
- }
+ const size_t posColon = filename.find(wxT(':'));
+ if ( posColon != wxString::npos )
+ {
+ // parse line number (it's ok if it fails, this will just leave
+ // line at its current, invalid, 0 value)
+ wxString(filename, posColon + 1, wxString::npos).ToULong(&line);
+
+ // remove line number from 'filename'
+ filename.erase(posColon);
+ if ( filename == wxT("??") )
+ filename.clear();
+ }
+ else
+ {
+ wxLogDebug(wxT("Unexpected addr2line format: \"%s\" - ")
+ wxT("the semicolon is missing"),
+ filename.c_str());