瀏覽代碼

fix compile error

kdmcser 6 月之前
父節點
當前提交
84202ee64f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/texts/TextOperations.cpp

+ 1 - 1
lib/texts/TextOperations.cpp

@@ -419,7 +419,7 @@ boost::filesystem::path TextOperations::Utf8TofilesystemPath(const std::string&
 #ifdef VCMI_WINDOWS
 	return boost::filesystem::path(boost::locale::conv::utf_to_utf<wchar_t>(path));
 #else
-	return boost::filesystem::path(path.string());
+	return boost::filesystem::path(path);
 #endif
 }