This commit is contained in:
2025-12-13 20:12:52 -05:00
parent 21b66d8337
commit d34ff73512
14 changed files with 552 additions and 471 deletions

View File

@@ -24,7 +24,7 @@ namespace anm2ed::anm2
XMLDocument document;
#ifdef _WIN32
auto file = _wfopen(path.string().c_str(), L"rb");
auto file = _wfopen(path.wstring().c_str(), L"rb");
#else
auto file = fopen(path.c_str(), "rb");
#endif
@@ -63,7 +63,7 @@ namespace anm2ed::anm2
document.InsertFirstChild(to_element(document));
#ifdef _WIN32
auto file = _wfopen(path.string().c_str(), L"w");
auto file = _wfopen(path.wstring().c_str(), L"w");
#else
auto file = fopen(path.c_str(), "w");
#endif