summaryrefslogtreecommitdiff
path: root/ZAPD/ZFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ZAPD/ZFile.cpp')
-rw-r--r--ZAPD/ZFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/ZFile.cpp b/ZAPD/ZFile.cpp
index f6f64c4..f8b2707 100644
--- a/ZAPD/ZFile.cpp
+++ b/ZAPD/ZFile.cpp
@@ -1046,7 +1046,7 @@ std::string ZFile::ProcessDeclarations()
auto filepath = outputPath / item.second->varName;
File::WriteAllText(
- StringHelper::Sprintf("%s.%s.inc", filepath.c_str(), extType.c_str()),
+ StringHelper::Sprintf("%s.%s.inc", filepath.string().c_str(), extType.c_str()),
item.second->text);
}