mirror of
https://github.com/AngelJumbo/lavat.git
synced 2024-12-22 05:56:37 +00:00
Bug fix -k color with no rim
This commit is contained in:
parent
10a255ce84
commit
fc6b037f39
6
lavat.c
6
lavat.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user