X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fwep.c;fp=lib%2Fwep.c;h=4495a36b3d6e430075668fb8fb0d723e18b131eb;hb=db905ff22705494136f504425cf0c75bb94cb81c;hp=a9590f739cef7c8e7012516af8b19f16f398eb6d;hpb=67fc54773e1504698e80c9cb83977bde32665350;p=ap-utils.git diff --git a/lib/wep.c b/lib/wep.c index a9590f7..4495a36 100644 --- a/lib/wep.c +++ b/lib/wep.c @@ -24,8 +24,8 @@ #include #include #include "ap-utils.h" -#include "ap-curses.h" +#define PRIVSETTINGS _("Privacy Settings") #define ENCRYPT _("[E] Standard encryption mechanism: ") #define ALLOW _("[A] Allow unencrypted: ") #define DEFAULT _("[K] Default WEP key: ") @@ -84,7 +84,7 @@ void wep() wepid = *(varbinds[1].value); print_help(_("EK1234 - set; W - write conf; Q - quit to menu")); - print_title(_("Privacy Settings")); + print_top(NULL, PRIVSETTINGS); sprintf(message, "%s%s", ENCRYPT, weps[wep - 1]); mvwaddstr(main_sub, 0, 0, message); @@ -186,7 +186,7 @@ void wep() exit: getch(); quit: - print_title(""); + print_top(NULL, NULL); clear_main(0); } @@ -246,7 +246,7 @@ void nwn_wep() wepid=*(varbinds[3].value); print_help(_("AEPK1234 - set options; W - write conf; Q - quit to menu")); - print_title(_("Privacy Settings")); + print_top(NULL, PRIVSETTINGS); sprintf(message, "%s%s", ENCRYPT, weps[wep - 1]); mvwaddstr(main_sub, 1, 0, message); @@ -415,6 +415,6 @@ void nwn_wep() exit: getch(); quit: - print_title(""); + print_top(NULL, NULL); clear_main(0); }