dirs in context color fix

This commit is contained in:
Aleksandr 2024-06-22 12:52:32 +02:00
parent 90eb2d32c0
commit f7cacaee5c

View file

@ -2284,8 +2284,10 @@ static bool initcurses(void *oldmask)
msg(env_cfg[NNN_COLORS]);
return FALSE;
}
} else
} else {
*pcode = (*colors < '0' || *colors > '7') ? 4 : *colors - '0';
fcolors[i + 1] = *pcode;
}
++colors;
} else
*pcode = 4;