Skip to content

Commit

Permalink
Fixed format
Browse files Browse the repository at this point in the history
  • Loading branch information
KiritoDv committed Feb 20, 2024
1 parent d58f577 commit 0a7123c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Companion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ void Companion::ExtractNode(YAML::Node& node, std::string& name, SWrapper* binar
if(this->gConfig.exporterType == ExportType::Code) {
if(node["pad"]){
auto pad = GetSafeNode<uint32_t>(node, "pad");
stream << "char pad_" << gCurrentPad++ << "[] = {\n";
stream << "char pad_" << gCurrentPad++ << "[] = {\n" << tab;
for(int i = 0; i < pad; i++){
stream << "0x00, ";
}
stream << "};\n\n";
stream << "\n};\n\n";
}
}

Expand Down

0 comments on commit 0a7123c

Please sign in to comment.