summaryrefslogtreecommitdiff
path: root/ZAPD/ZFile.cpp
diff options
context:
space:
mode:
authorCaptainkittyca2 <68467449+Captainkittyca2@users.noreply.github.com>2023-05-02 00:41:51 +0300
committerGitHub <noreply@github.com>2023-05-01 17:41:51 -0400
commitc30cb187bdb3d105c6e5df061fc6f121b2c84529 (patch)
tree60695cf9a384872fb6e58bf346329950cad7402f /ZAPD/ZFile.cpp
parent0e6ab4ab9f9a7bf3f5d52407db4873f0d35697e4 (diff)
Modify ZFile.cpp for inc file creation (#286)
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);
}