Mercurial > emacs
changeset 2239:be1ff9cf72eb
Less klugey version of fix.
author | Eric S. Raymond <esr@snark.thyrsus.com> |
---|---|
date | Wed, 17 Mar 1993 23:50:29 +0000 |
parents | 1a0fd1591b0d |
children | 8638238fa65f |
files | src/term.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/term.c Wed Mar 17 22:31:58 1993 +0000 +++ b/src/term.c Wed Mar 17 23:50:29 1993 +0000 @@ -1238,7 +1238,6 @@ char **address; { extern char *tgetstr (); - char capval[32]; int i; for (i = 0; i < (sizeof (keys)/sizeof (keys[0])); i++) @@ -1288,7 +1287,7 @@ else fcap[1] = 'a' + i - 11; - if (tgetstr(fcap, &capval)) + if (tgetstr(fcap, address)) { (void) sprintf(fkey, "f%d", i); Fdefine_key (Vfunction_key_map, @@ -1303,7 +1302,7 @@ */ { #define CONDITIONAL_REASSIGN(cap1, cap2, sym) \ - if (!tgetstr(cap1, &capval) && tgetstr(cap2, &capval)) \ + if (!tgetstr(cap1, address) && tgetstr(cap2, address)) \ Fdefine_key (Vfunction_key_map, \ build_string (cap2), \ Fmake_vector (make_number (1), intern (sym)))