Don't depend on current color when creating ncurses window

Fixes a minor glitch where A_REVERSE would be set on the information
window if the last item in the dir is selected.
This commit is contained in:
Yorhel 2018-01-23 14:20:06 +01:00
parent 40b127591f
commit 1165342dcf

View file

@ -162,6 +162,7 @@ int ncresize(int minrows, int mincols) {
void nccreate(int height, int width, const char *title) {
int i;
uic_set(UIC_DEFAULT);
subwinr = winrows/2-height/2;
subwinc = wincols/2-width/2;