1
Author: Alastair McKinstry <mckinstry@debian.org>
2
Description: Fix for bug: incorrect result given for <no> selected by ESC pressed in whiptail
3
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=#665784
4
Last-Updated: 2012-05-16
7
Index: newt-0.52.14/dialogboxes.c
8
===================================================================
9
--- newt-0.52.14.orig/dialogboxes.c 2012-05-16 12:15:50.000000000 +0100
10
+++ newt-0.52.14/dialogboxes.c 2012-05-16 12:16:29.000000000 +0100
13
answer = newtFormGetCurrent(form);
16
+ if ((rc == DLG_OKAY) && (answer == no))