Skip to content
Snippets Groups Projects
Commit 1165342d authored by Yorhel's avatar Yorhel
Browse files

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.
parent 40b12759
Branches
Tags
No related merge requests found
...@@ -162,6 +162,7 @@ int ncresize(int minrows, int mincols) { ...@@ -162,6 +162,7 @@ int ncresize(int minrows, int mincols) {
void nccreate(int height, int width, const char *title) { void nccreate(int height, int width, const char *title) {
int i; int i;
uic_set(UIC_DEFAULT);
subwinr = winrows/2-height/2; subwinr = winrows/2-height/2;
subwinc = wincols/2-width/2; subwinc = wincols/2-width/2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment