libansilove

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

commit 5b9a8d9be4d2e1e92136b916b5319da2cb4dc951
parent a7994e1f22a3cdfdc77c6ad35651d7ee36eff220
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri, 17 Jan 2020 15:47:45 +0100

Properly reset pcboard buffer when CLS is encountered.

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

diff --git a/src/loaders/pcboard.c b/src/loaders/pcboard.c @@ -101,6 +101,9 @@ ansilove_pcboard(struct ansilove_ctx *ctx, struct ansilove_options *options) columnMax = 0; rowMax = 0; + /* reset pcboard buffer */ + structIndex = 0; + loop += 4; }