commit ad27f9f67f3dc20c756d9c99c05b14fcf48bc84a
parent 728f55d2444bc967a5d65383620e052d538a31cf
Author: Santtu Lakkala <inz@inz.fi>
Date: Mon, 20 Jul 2020 10:55:28 +0300
Fix background color parsing
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nyancat.c b/nyancat.c
@@ -190,7 +190,7 @@ static int _lc_arg_m(int arg, void *data)
case 44:
case 45:
case 46:
- lc->fg = ((arg - 40) & 1) << 23 |
+ lc->bg = ((arg - 40) & 1) << 23 |
((arg - 40) & 2) << 14 |
((arg - 40) & 4) << 5;
break;