1
diff -ruN newt-0.51.6-old/dialogboxes.c newt-0.51.6/dialogboxes.c
2
--- newt-0.51.6-old/dialogboxes.c 2004-03-09 15:01:24.000000000 +0000
3
+++ newt-0.51.6/dialogboxes.c 2004-03-09 15:26:47.000000000 +0000
8
+ if (flags & FLAG_NOTAGS) {
12
form = newtForm(NULL, NULL, 0);
14
tb = textbox(height - 4 - buttonHeight - listHeight, width - 2,
20
+ if (flags & FLAG_NOTAGS) {
24
form = newtForm(NULL, NULL, 0);
26
tb = textbox(height - 3 - buttonHeight - listHeight, width - 2,
27
diff -ruN newt-0.51.6-old/dialogboxes.h newt-0.51.6/dialogboxes.h
28
--- newt-0.51.6-old/dialogboxes.h 2003-01-03 20:54:45.000000000 +0000
29
+++ newt-0.51.6/dialogboxes.h 2004-03-09 15:01:24.000000000 +0000
31
#define FLAG_NOCANCEL (1 << 1)
32
#define FLAG_SCROLL_TEXT (1 << 2)
33
#define FLAG_DEFAULT_NO (1 << 3)
34
+#define FLAG_NOTAGS (1 << 5)
38
diff -ruN newt-0.51.6-old/whiptail.c newt-0.51.6/whiptail.c
39
--- newt-0.51.6-old/whiptail.c 2004-03-09 15:01:24.000000000 +0000
40
+++ newt-0.51.6/whiptail.c 2004-03-09 15:01:24.000000000 +0000
50
{ "msgbox", '\0', 0, 0, OPT_MSGBOX },
51
{ "nocancel", '\0', 0, &noCancel, 0 },
52
{ "noitem", '\0', 0, &noItem, 0 },
53
+ { "notags", '\0', 0, &noTags, 0 },
54
{ "radiolist", '\0', 0, 0, OPT_RADIOLIST },
55
{ "scrolltext", '\0', 0, &scrollText, 0 },
56
{ "separate-output", '\0', 0, &separateOutput, 0 },
59
if (noCancel) flags |= FLAG_NOCANCEL;
60
if (noItem) flags |= FLAG_NOITEM;
61
+ if (noTags) flags |= FLAG_NOTAGS;
62
if (scrollText) flags |= FLAG_SCROLL_TEXT;
63
if (defaultNo) flags |= FLAG_DEFAULT_NO;