diff options
| author | Nicholas Estelami <NEstelami@users.noreply.github.com> | 2023-04-30 21:23:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-30 21:23:26 -0400 |
| commit | 0e6ab4ab9f9a7bf3f5d52407db4873f0d35697e4 (patch) | |
| tree | e82b20f2c6e2f1e38efcf5a6bc62c5794f6087b7 /ZAPD/ZArray.cpp | |
| parent | 35d6c0c852722b0edb063cb9a8ad74de22bd2524 (diff) | |
Fixed issue with include paths on Windows (#284)
Diffstat (limited to 'ZAPD/ZArray.cpp')
| -rw-r--r-- | ZAPD/ZArray.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/ZArray.cpp b/ZAPD/ZArray.cpp index 0a9797b..28d35f3 100644 --- a/ZAPD/ZArray.cpp +++ b/ZAPD/ZArray.cpp @@ -75,7 +75,7 @@ Declaration* ZArray::DeclareVar(const std::string& prefix, const std::string& bo if (res->IsExternalResource()) { auto filepath = Globals::Instance->outputPath / name; - std::string includePath = StringHelper::Sprintf("%s.%s.inc", filepath.c_str(), + std::string includePath = StringHelper::Sprintf("%s.%s.inc", filepath.string().c_str(), res->GetExternalExtension().c_str()); decl = parent->AddDeclarationIncludeArray(rawDataIndex, includePath, GetRawDataSize(), GetSourceTypeName(), name, arrayCnt); |
