Removed
Link Here
|
1 |
--- portconfig.c.orig 2021-11-29 17:22:25 UTC |
2 |
+++ portconfig.c |
3 |
@@ -253,9 +253,6 @@ main(int argc, char *argv[]) |
4 |
theme = BSDDIALOG_THEME_DIALOG; |
5 |
newstr = "+"; |
6 |
} |
7 |
- else if (strcasecmp(env, "magenta") == 0) { |
8 |
- theme = BSDDIALOG_THEME_MAGENTA; |
9 |
- } |
10 |
else if (strcasecmp(env, "blackwhite") == 0) { |
11 |
theme = BSDDIALOG_THEME_BLACKWHITE; |
12 |
} |
13 |
@@ -290,10 +287,10 @@ main(int argc, char *argv[]) |
14 |
confhelp.title = "HELP"; |
15 |
confhelp.hfile = NULL; |
16 |
for (;;) { |
17 |
- output = bsddialog_mixedlist(conf, helpmsg, h, w, 0, ngroups, |
18 |
+ output = bsddialog_mixedlist(&conf, helpmsg, h, w, 0, ngroups, |
19 |
groups, NULL, NULL); |
20 |
if (output == BSDDIALOG_HELP) { |
21 |
- output = bsddialog_textbox(confhelp, conf.hfile, 0, 0); |
22 |
+ output = bsddialog_textbox(&confhelp, conf.hfile, 0, 0); |
23 |
if(output == BSDDIALOG_ERROR) |
24 |
break; |
25 |
} |