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

Commit 30c4eaaf authored by Li Zefan's avatar Li Zefan Committed by Michal Marek
Browse files

menuconfig: fix a regression when canceling the prompt dialog at exit



This commit fixes a bug, while introducing a new one..

commit 7203ddbd4be9720649e47d756a001e0c7d7f8ae2
Author: Wang YanQing <udknight@gmail.com>
Date:   Thu Jan 12 11:31:32 2012 +0800

    menuconfig: let make not report error when not save configuration

Pressing ESC should cancel the yes/no dialog and return back to
the main menu, but not exit from menuconfig.

Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Acked-by: default avatarWang YanQing <udknight@gmail.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 37ae2d59
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -830,6 +830,7 @@ static int handle_exit(void)
		fprintf(stderr, _("\n\n"
		fprintf(stderr, _("\n\n"
				  "Your configuration changes were NOT saved."
				  "Your configuration changes were NOT saved."
				  "\n\n"));
				  "\n\n"));
		if (res != KEY_ESC)
			res = 0;
			res = 0;
	}
	}