Skip to content

Commit c00e57f

Browse files
authored
Merge pull request #1893 from galaxyhaxz/fix_psyq_text_align
Fix alignment in logging of psqy-obj-parser
2 parents 3f47e4b + 4005272 commit c00e57f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/psyq-obj-parser/psyq-obj-parser.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ void PsyqLnkFile::display() {
766766
section.display(this);
767767
}
768768
fmt::print("\n\n\n :: Relocations\n\n");
769-
fmt::print(" {:8} {:>12}::{:8} {}\n", "type", "section", "offset", "expression");
769+
fmt::print(" {:10} {:>10}::{:8} {}\n", "type", "section", "offset", "expression");
770770
fmt::print(" ------------------------------------------\n");
771771
for (auto& section : sectionsList) {
772772
section.displayRelocs(this);
@@ -816,7 +816,7 @@ void PsyqLnkFile::Relocation::display(PsyqLnkFile* lnk, PsyqLnkFile::Section* se
816816
{PsyqRelocType::REL26_BE, "REL26 BE"}, {PsyqRelocType::HI16_BE, "HI16 BE"},
817817
{PsyqRelocType::LO16_BE, "LO16 BE"},
818818
};
819-
fmt::print(" {:8} {:>12}::{:08x} ", typeStr.find(type)->second, sec->name, offset);
819+
fmt::print(" {:10} {:>10}::{:08x} ", typeStr.find(type)->second, sec->name, offset);
820820
expression->display(lnk, true);
821821
}
822822

0 commit comments

Comments
 (0)