2
0

Fix MPW_COLOR test, if set to 0.

This commit is contained in:
Maarten Billemont 2020-04-04 17:33:32 -04:00
parent fa0c80d6b3
commit 6a635491bd

View File

@ -339,7 +339,7 @@ static char *mpw_tputs(const char *str, int affcnt) {
const char *mpw_identicon_render(MPIdenticon identicon) {
char *colorString, *resetString;
#ifdef MPW_COLOR
#if MPW_COLOR
if (mpw_setupterm()) {
colorString = mpw_tputs( tparm( tgetstr( "AF", NULL ), identicon.color ), 1 );
resetString = mpw_tputs( tgetstr( "me", NULL ), 1 );