X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fbase%2Fkeybound.c;fp=ncurses%2Fbase%2Fkeybound.c;h=06a1f44fc2f8e28a07da041dc8239643ff33be9a;hp=c8ca2856bb977554ff5198570de271fed2b012ad;hb=a8987e73ec254703634802b4f7ee30d3a485524d;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01 diff --git a/ncurses/base/keybound.c b/ncurses/base/keybound.c index c8ca2856..06a1f44f 100644 --- a/ncurses/base/keybound.c +++ b/ncurses/base/keybound.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1999,2000 Free Software Foundation, Inc. * + * Copyright (c) 1999-2000,2003 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -32,7 +32,7 @@ #include -MODULE_ID("$Id: keybound.c,v 1.3 2000/12/10 02:43:26 tom Exp $") +MODULE_ID("$Id: keybound.c,v 1.4 2003/03/08 19:39:31 tom Exp $") /* * Returns the count'th string definition which is associated with the @@ -42,5 +42,6 @@ MODULE_ID("$Id: keybound.c,v 1.3 2000/12/10 02:43:26 tom Exp $") NCURSES_EXPORT(char *) keybound(int code, int count) { - return _nc_expand_try(SP->_key_ok, code, &count, 0); + T((T_CALLED("keybound(%d,%d)"), code, count)); + returnPtr(_nc_expand_try(SP->_keytry, code, &count, 0)); }