libansilove

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

commit 297ad18b698e4fc72a04e5ece6be96e765baf571
parent 684ec43c3d92670ebb137649c79a78e8927f774b
Author: Frederic Cambus <fred@statdns.com>
Date:   Sun, 31 May 2020 23:50:04 +0200

Remove a few useless parentheses.

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

diff --git a/src/loaders/ansi.c b/src/loaders/ansi.c @@ -394,10 +394,10 @@ ansilove_ansi(struct ansilove_ctx *ctx, struct ansilove_options *options) switch (seqValue) { case 0: - background24 = (color_R << 16) | (color_G << 8) | (color_B); + background24 = color_R << 16 | color_G << 8 | color_B; break; case 1: - foreground24 = (color_R << 16) | (color_G << 8) | (color_B); + foreground24 = color_R << 16 | color_G << 8 | color_B; break; }