libansilove

Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

commit 34d087fd0b38c9454c61850030038fae5d57baf7
parent 3df75d15d8e8a2ca6ef0d307c0002a5ce273f557
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 22 Oct 2018 22:12:28 +0200

Stop storing bold attribute in the ansiChar structure, it's not used there

Diffstat:
Msrc/loaders/ansi.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/loaders/ansi.c b/src/loaders/ansi.c @@ -22,7 +22,6 @@ struct ansiChar { uint32_t background; uint32_t foreground; uint32_t current_character; - bool bold; }; int ansilove_ansi(struct ansilove_ctx *ctx, struct ansilove_options *options) @@ -410,7 +409,6 @@ int ansilove_ansi(struct ansilove_ctx *ctx, struct ansilove_options *options) ansi_buffer[structIndex].foreground = foreground; } ansi_buffer[structIndex].current_character = current_character; - ansi_buffer[structIndex].bold = bold; ansi_buffer[structIndex].column = column; ansi_buffer[structIndex].row = row; @@ -478,7 +476,6 @@ int ansilove_ansi(struct ansilove_ctx *ctx, struct ansilove_options *options) background = ansi_buffer[loop].background; foreground = ansi_buffer[loop].foreground; character = ansi_buffer[loop].current_character; - bold = ansi_buffer[loop].bold; column = ansi_buffer[loop].column; row = ansi_buffer[loop].row;