changeset 16734:798ab643cba2

(modify_event_symbol): Don't index thru name_table if it is null.
author Richard M. Stallman <rms@gnu.org>
date Thu, 19 Dec 1996 23:57:33 +0000
parents a8927c5085fe
children 940b9fcc1da6
files src/keyboard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Thu Dec 19 22:02:55 1996 +0000
+++ b/src/keyboard.c	Thu Dec 19 23:57:33 1996 +0000
@@ -4463,7 +4463,7 @@
       /* No; let's create it.  */
       if (!NILP (name_alist))
 	value = Fcdr_safe (Fassq (symbol_int, name_alist));
-      else if (name_table[symbol_num])
+      else if (name_table != 0 && name_table[symbol_num])
 	value = intern (name_table[symbol_num]);
 
 #ifdef HAVE_WINDOW_SYSTEM