changeset 6560:a071babfa9ea

(x_find_modifier_meanings): Skip zero entries.
author Karl Heuer <kwzh@gnu.org>
date Mon, 28 Mar 1994 23:03:07 +0000
parents 3d314bef071a
children eafeaeff6fa5
files src/xterm.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Mar 28 20:55:18 1994 +0000
+++ b/src/xterm.c	Mon Mar 28 23:03:07 1994 +0000
@@ -1564,6 +1564,10 @@
 	  KeyCode code =
 	    mods->modifiermap[(row * mods->max_keypermod) + col];
 
+	  /* Zeroes are used for filler.  Skip them.  */
+	  if (code == 0)
+	    continue;
+
 	  /* Are any of this keycode's keysyms a meta key?  */
 	  {
 	    int code_col;