diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2024-04-08 18:09:12 -0600 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-04-08 18:09:34 -0600 |
| commit | 3918fde51a84f5035d6f74740195f0d91dd5c604 (patch) | |
| tree | b6274c3503af7cff7831b2272668d5659353631b /src/factories/IncludeFactory.cpp | |
| parent | b1d39534f3ee1f04601cdadffbc8a96bcbf0b4a6 (diff) | |
Fixed otr header generation and fixed some binary exporters
Diffstat (limited to 'src/factories/IncludeFactory.cpp')
| -rw-r--r-- | src/factories/IncludeFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/factories/IncludeFactory.cpp b/src/factories/IncludeFactory.cpp index ab38c28..f1cde4c 100644 --- a/src/factories/IncludeFactory.cpp +++ b/src/factories/IncludeFactory.cpp @@ -12,7 +12,7 @@ ExportResult IncludeHeaderExporter::Export(std::ostream &write, std::shared_ptr< auto ctype = GetSafeNode<std::string>(node, "ctype"); if(Companion::Instance->IsOTRMode()){ - write << "static const char " << symbol << "[] = \"__OTR__" << (*replacement) << "\";\n\n"; + write << "static const ALIGN_ASSET(2) char " << symbol << "[] = \"__OTR__" << (*replacement) << "\";\n\n"; return std::nullopt; } |
