Merge pull request #1898 from a-gruzdev/dirs-context-color-fix

dirs in context color fix
This commit is contained in:
Arun 2024-06-23 20:34:01 +05:30 committed by GitHub
commit 86d883eee4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;