ansilove

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

commit 07652d91a90be38ef65614a41d60fdadf3afcea9
parent a5b3fdc04317a6a03e11e59522435a458b1c5254
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Sun, 26 Jul 2015 19:42:58 +0200

Default to 160 if columns option is not specified

Diffstat:
Msrc/main.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c @@ -195,6 +195,11 @@ int main(int argc, char *argv[]) bits = "8"; } + // default to 160 if columns option is not specified + if (!columns) { + columns = "160"; + } + // default to 80x25 font if font option is not specified if (!font) { font = "80x25";