diff options
Diffstat (limited to 'src/Companion.cpp')
| -rw-r--r-- | src/Companion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp index 021597f..0ca56f6 100644 --- a/src/Companion.cpp +++ b/src/Companion.cpp @@ -765,7 +765,7 @@ void Companion::ProcessFile(YAML::Node root) { switch (this->gConfig.exporterType) { case ExportType::Header: { - fsout /= filename + ".h"; + fsout /= this->gCurrentDirectory.parent_path() / (filename + ".h"); break; } case ExportType::Code: { |
