libansilove

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

commit 34e9e1941b73297f0be23602fe3e13586971e45a
parent d601e10814b105be050c8f8a1b8b5937d5d6899d
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri,  7 Jun 2019 15:21:28 +0200

Fix minor style issue.

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

diff --git a/src/loaders/pcboard.c b/src/loaders/pcboard.c @@ -115,9 +115,7 @@ ansilove_pcboard(struct ansilove_ctx *ctx, struct ansilove_options *options) { column = ((ctx->buffer[loop+5])-48)-1; loop += 5; - } - else - { + } else { column = (10 * ((ctx->buffer[loop+5])-48) + (ctx->buffer[loop+6])-48)-1; loop += 6; }