Bug fix -k color with no rim

This commit is contained in:
Angel Jumbo 2022-11-10 21:04:58 -05:00
parent 10a255ce84
commit fc6b037f39

View File

@ -16,7 +16,7 @@ typedef struct {
static char *custom = NULL;
static short color = TB_DEFAULT;
static short color2 = TB_BOLD;
static short color2 = TB_DEFAULT;
static int nballs = 10;
static short speedMult = 1;
static short rim = 0;
@ -57,8 +57,8 @@ int main(int argc, char *argv[]) {
char *custom2 = custom;
if (color2 == TB_BOLD)
color2 = color | color2;
if (color2 == TB_DEFAULT || !rim)
color2 = color | TB_BOLD;
if (custom && strlen(custom) > 1 && rim) {
custom2 = custom + 1;