Skip to content

Commit

Permalink
preserve xfs extension
Browse files Browse the repository at this point in the history
  • Loading branch information
PredatorCZ committed Nov 6, 2023
1 parent 7894e01 commit 02da0ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion toolset/xfs_conv/xfs_to_xml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ void AppProcessFile(AppContext *ctx) {
return;
}

auto &outStr = ctx->NewFile(ctx->workingFile.ChangeExtension(".xml")).str;
auto &outStr =
ctx->NewFile(std::string(ctx->workingFile.GetFullPath()) + ".xml").str;

pugi::xml_document doc;
xfs.ToXML(doc);
Expand Down

0 comments on commit 02da0ed

Please sign in to comment.