Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7c67a2e authored by Yaakov Selkowitz's avatar Yaakov Selkowitz Committed by Michal Marek
Browse files

kconfig/nconf: fix compile with ncurses reentrant API



ESCDELAY is a global variable which is replaced by getter and setter
functions with NCURSES_REENTRANT.  This fixes the following error:

nconf.c: In function ‘main’:
nconf.c:1506:2: error: lvalue required as left operand of assignment

Signed-off-by: default avatarYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent f8f5701b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1503,7 +1503,11 @@ int main(int ac, char **av)
	}

	notimeout(stdscr, FALSE);
#if NCURSES_REENTRANT
	set_escdelay(1);
#else
	ESCDELAY = 1;
#endif

	/* set btns menu */
	curses_menu = new_menu(curses_menu_items);