X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..a7d354c6d75a32033f62b8ecadd837519b35b3ef:/src/unix/dir.cpp?ds=sidebyside diff --git a/src/unix/dir.cpp b/src/unix/dir.cpp index 31270d04a5..5a0554edf4 100644 --- a/src/unix/dir.cpp +++ b/src/unix/dir.cpp @@ -304,7 +304,7 @@ bool wxDir::HasSubDirs(const wxString& spec) const // caller will learn it soon enough when it calls GetFirst(wxDIR) // anyhow wxStructStat stBuf; - if ( wxStat(M_DIR->GetName().c_str(), &stBuf) == 0 ) + if ( wxStat(M_DIR->GetName(), &stBuf) == 0 ) { switch ( stBuf.st_nlink ) {