aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1999-05-25 17:31:38 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1999-05-25 17:31:38 -0400
commit953d3d55fdeda61c1de8ca84cb0a561eb39777bf (patch)
tree50be498d66b1e0f3663a45088b9c9e51af69e4b6 /src
parent46aabf47e7a5156ccee95d9ed587de6a71e4c603 (diff)
downloadlynx-snapshots-953d3d55fdeda61c1de8ca84cb0a561eb39777bf.tar.gz
snapshot of project "lynx", label v2-8-2pre_7
Diffstat (limited to 'src')
-rw-r--r--src/LYCookie.c4
-rw-r--r--src/LYOptions.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/src/LYCookie.c b/src/LYCookie.c
index 9792e533..288385da 100644
--- a/src/LYCookie.c
+++ b/src/LYCookie.c
@@ -464,7 +464,7 @@ PRIVATE void store_cookie ARGS3(
de->invcheck_bv = INVCHECK_QUERY; /* should this go here? */
cookie_list = de->cookie_list = HTList_new();
StrAllocCopy(de->domain, co->domain);
- HTList_addObject(domain_list, de);
+ HTList_appendObject(domain_list, de);
}
/*
@@ -2740,7 +2740,7 @@ PUBLIC void cookie_domain_flag_set ARGS2(
StrAllocCopy(de->domain, strsmall);
de->cookie_list = HTList_new();
- HTList_addObject(domain_list, de);
+ HTList_appendObject(domain_list, de);
} else {
switch(flag) {
case (FLAG_ACCEPT_ALWAYS): de2->bv = ACCEPT_ALWAYS;
diff --git a/src/LYOptions.c b/src/LYOptions.c
index cc635c5d..6d52e11f 100644
--- a/src/LYOptions.c
+++ b/src/LYOptions.c
@@ -128,6 +128,10 @@ PRIVATE int add_it ARGS2(char *, text, int, len)
return 0;
}
+/*
+ * addlbl() is used instead of plain addstr() in old-style options menu
+ * to show hot keys in bold.
+ */
PRIVATE void addlbl ARGS1(CONST char *, text)
{
char actual[80];
@@ -420,7 +424,7 @@ draw_options:
#ifdef ALLOW_USERS_TO_CHANGE_EXEC_WITHIN_OPTIONS
move(L_Exec, 5);
- addstr("local e(X)ecution links : ");
+ addlbl("local e(X)ecution links : ");
#ifndef NEVER_ALLOW_REMOTE_EXEC
addstr( local_exec ? "ALWAYS ON " :
(local_exec_on_local_files ? "FOR LOCAL FILES ONLY" :