ansilove

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

commit a82fcd554d47c70610f7af41d4110d97f8c941b0
parent 4ed3e9a4c42771ae063589cf0839fb36616224df
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Sun, 26 Jul 2015 22:27:09 +0200

Using mode instead of bits to check for rendering modes to enable

Diffstat:
Msrc/ansilove.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/ansilove.c b/src/ansilove.c @@ -196,16 +196,16 @@ void alAnsiLoader(char *input, char *output, char *retinaout, char *font, char * } // to deal with the bits flag, we declared handy bool types - if (strcmp(bits, "ced") == 0) { + if (strcmp(mode, "ced") == 0) { ced = true; } - else if (strcmp(bits, "transparent") == 0) { + else if (strcmp(mode, "transparent") == 0) { transparent = true; } - else if (strcmp(bits, "workbench") == 0) { + else if (strcmp(mode, "workbench") == 0) { workbench = true; } - else if (strcmp(bits, "workbench-transparent") == 0) { + else if (strcmp(mode, "workbench-transparent") == 0) { workbench = true; transparent = true; }