summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2024-02-20 17:30:51 -0600
committerKiritoDv <kiritodev01@gmail.com>2024-02-20 17:30:51 -0600
commit0a7123cbbd5fa63fdb92a538b882a5c060fa3bad (patch)
tree0454f225b0f98c376b79d0d6518681640545fbfa /src
parentd58f5776cb5039e07c93efca1735f887711717d2 (diff)
Fixed format
Diffstat (limited to 'src')
-rw-r--r--src/Companion.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp
index 2372116..c7be9b6 100644
--- a/src/Companion.cpp
+++ b/src/Companion.cpp
@@ -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";
}
}