summaryrefslogtreecommitdiff
path: root/games-util/dfarc/files/dfarc-3.14-wxString.patch
blob: 9eb7bd3ddffe6faf6d4907c54bb444516b14cd02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nur dfarc-3.14/src/Tar.cpp new/src/Tar.cpp
--- dfarc-3.14/src/Tar.cpp	2018-06-05 23:18:34.000000000 +0200
+++ new/src/Tar.cpp	2019-02-02 02:41:40.128841786 +0100
@@ -610,7 +610,7 @@
             if (lLastCharacter != '\\' && lLastCharacter != '/')
             {
                 // Open the file.
-                std::ostream* lStreamOut = ostream_open_unicode(lCurrentFilePath);
+                std::ostream* lStreamOut = ostream_open_unicode(lCurrentFilePath.mb_str());
 		if (!lStreamOut->good())
                 {
 		    wxLogError(_("Error: Improperly archived file '%s'.  Skipping."), lCurrentFilePath);