summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2013-03-20 20:27:19 +0100
committererihel <erihel@gmail.com>2013-03-20 20:27:19 +0100
commit64be7a5df60bdf444d31eb2cc4945929a4c4a695 (patch)
treef7b4b882879dbf7057f96509d243326e7d4717bc /src
parent3bb83e5595892f7feb23248b88285f9ef9ad4786 (diff)
downloadcolobot-64be7a5df60bdf444d31eb2cc4945929a4c4a695.tar.gz
colobot-64be7a5df60bdf444d31eb2cc4945929a4c4a695.tar.bz2
colobot-64be7a5df60bdf444d31eb2cc4945929a4c4a695.zip
* Fix for mxe with boost path
Diffstat (limited to 'src')
-rw-r--r--src/ui/maindialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp
index 6b930e2..f4bc75c 100644
--- a/src/ui/maindialog.cpp
+++ b/src/ui/maindialog.cpp
@@ -4353,7 +4353,7 @@ void CMainDialog::IOReadList()
filename = m_savegameDir + "/" + m_main->GetGamerName() + "/save" + m_sceneName[0] + rankStream.str()+ "/data.sav";
// sprintf(filename, "%s\\%s\\save%c%.3d\\data.sav", m_savegameDir, m_main->GetGamerName(), m_sceneName[0], j);
- file = fopen(fs::path(filename).make_preferred().c_str(), "r");
+ file = fopen(fs::path(filename).make_preferred().string().c_str(), "r");
if ( file == NULL ) break;
while ( fgets(line, 500, file) != NULL )