diff options
-rw-r--r-- | binutils/objdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c index 08c3354..9259c76 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -2247,7 +2247,7 @@ objdump_styled_sprintf (SFILE *f, enum disassembler_style style, { size_t space = f->alloc - f->pos; - if (disassembler_color) + if (disassembler_color == on) n = snprintf (f->buffer + f->pos, space, "\033[%dm", color); else n = snprintf (f->buffer + f->pos, space, "\033[38;5;%dm", color); |