From 64be7a5df60bdf444d31eb2cc4945929a4c4a695 Mon Sep 17 00:00:00 2001 From: erihel Date: Wed, 20 Mar 2013 20:27:19 +0100 Subject: * Fix for mxe with boost path --- src/ui/maindialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui') 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 ) -- cgit v1.2.3-1-g7c22