ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 7d53df5b07d192f1a2ded8dc222c8fff55ebd53c
parent 8b4418d05bd49ea9a0f1f33a950313d30d26d8cf
Author: Brian Cassidy <brian.cassidy@unb.ca>
Date:   Thu, 27 Aug 2020 15:42:42 -0300

adjust sauce flag output to be binary

Diffstat:
Msrc/ansilove.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ansilove.c b/src/ansilove.c @@ -306,7 +306,7 @@ main(int argc, char *argv[]) fprintf(messages, "Filetype: %d\n", record->fileType); if (record->flags) - fprintf(messages, "Flags: %d\n", record->flags); + fprintf(messages, "Flags: 0b%d%d%d%d%d%d%d%d\n", record->flags >> 7, record->flags >> 6 & 1, record->flags >> 5 & 1, record->flags >> 4 & 1, record->flags >> 3 & 1, record->flags >> 2 & 1, record->flags >> 1 & 1, record->flags & 1); if (record->tinfo1) fprintf(messages, "Tinfo1: %d\n", record->tinfo1);