]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/base/key_defined.c
ncurses 6.2 - patch 20200718
[ncurses.git] / ncurses / base / key_defined.c
index 20fd92170b1e299988ad44000ad8bf7de41e25bd..25d5a674e1b8524fef3d2233c9f80cd662288463 100644 (file)
@@ -1,5 +1,6 @@
 /****************************************************************************
- * Copyright (c) 2003-2006,2009 Free Software Foundation, Inc.              *
+ * Copyright 2020 Thomas E. Dickey                                          *
+ * Copyright 2003-2006,2009 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            *
  ****************************************************************************/
 
 /****************************************************************************
- *  Author: Thomas E. Dickey                        2003                    *
- *     and: Juergen Pfeifer                         2009                    *
+ *  Author: Thomas E. Dickey, 2003                                          *
  ****************************************************************************/
 
 #include <curses.priv.h>
 
-MODULE_ID("$Id: key_defined.c,v 1.7 2009/02/15 00:30:00 tom Exp $")
+MODULE_ID("$Id: key_defined.c,v 1.10 2020/02/02 23:34:34 tom Exp $")
 
 static int
 find_definition(TRIES * tree, const char *str)
@@ -70,7 +70,7 @@ NCURSES_SP_NAME(key_defined) (NCURSES_SP_DCLx const char *str)
 {
     int code = ERR;
 
-    T((T_CALLED("key_defined(%s)"), _nc_visbuf(str)));
+    T((T_CALLED("key_defined(%p, %s)"), (void *) SP_PARM, _nc_visbuf(str)));
     if (SP_PARM != 0 && str != 0) {
        code = find_definition(SP_PARM->_keytry, str);
     }