This commit is contained in:
2025-12-13 22:14:47 -05:00
parent 898dfcc68f
commit 29fc0f3449
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ namespace anm2ed::anm2
labels.emplace_back(localize.get(BASIC_NONE));
for (auto& [id, spritesheet] : content.spritesheets)
{
auto pathString = spritesheet.path.string();
auto pathString = filesystem::path_to_utf8(spritesheet.path);
labels.emplace_back(std::vformat(localize.get(FORMAT_SPRITESHEET), std::make_format_args(id, pathString)));
}
return labels;
+1 -1
View File
@@ -45,7 +45,7 @@ namespace anm2ed::anm2
{
auto element = document.NewElement("Spritesheet");
element->SetAttribute("Id", id);
auto pathString = path.generic_string();
auto pathString = filesystem::path_to_utf8(path);
element->SetAttribute("Path", pathString.c_str());
return element;
}