Remove unnecessary c_str() from wx var arg functions arguments
Using c_str() for arguments to wxString::Printf(), Format() and wxLogXXX() is useless since wx 2.9 days, so simply remove them. No real changes, this is just a (long due) cleanup.
This commit is contained in:
@@ -230,7 +230,7 @@ wxTextFileType wxTextBuffer::GuessType() const
|
||||
// interpret the results (FIXME far from being even 50% fool proof)
|
||||
if ( nScan > 0 && nDos + nUnix + nMac == 0 ) {
|
||||
// no newlines at all
|
||||
wxLogWarning(_("'%s' is probably a binary buffer."), m_strBufferName.c_str());
|
||||
wxLogWarning(_("'%s' is probably a binary buffer."), m_strBufferName);
|
||||
}
|
||||
else {
|
||||
#define GREATER_OF(t1, t2) n##t1 == n##t2 ? typeDefault \
|
||||
|
||||
Reference in New Issue
Block a user