Attempts to fix ArchiveViewer build on OS X (use wxString::wc_str() to construct std::wstring).
This was SVN commit r10305.
This commit is contained in:
parent
83cfcd181d
commit
7828544946
@ -461,7 +461,7 @@ void ArchiveViewer::ExtractFiles(bool onlySelected)
|
|||||||
wxString filename = wxString( utf16tow(file.filename).c_str() );
|
wxString filename = wxString( utf16tow(file.filename).c_str() );
|
||||||
int lastSlash = filename.Find(_T('\\'), true);
|
int lastSlash = filename.Find(_T('\\'), true);
|
||||||
if (lastSlash != -1)
|
if (lastSlash != -1)
|
||||||
dirs.insert(filename.Mid(0, lastSlash+1).c_str());
|
dirs.insert(filename.Mid(0, lastSlash+1).wc_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Construct the directory tree:
|
// Construct the directory tree:
|
||||||
|
Loading…
Reference in New Issue
Block a user