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.
Этот коммит содержится в:
родитель
40b127591f
Коммит
1165342dcf
@ -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;
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user