changeset 18513:948557b5aa7c

(make_lispy_event): Check that ISO_FUNCTION_KEY_OFFSET is defined.
author Richard M. Stallman <rms@gnu.org>
date Tue, 01 Jul 1997 06:30:13 +0000
parents 6f986049dff1
children 38e3a189ed1d
files src/keyboard.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Tue Jul 01 06:28:48 1997 +0000
+++ b/src/keyboard.c	Tue Jul 01 06:30:13 1997 +0000
@@ -3746,6 +3746,7 @@
 				     / sizeof (lispy_kana_keys[0])));
 #endif /* XK_kana_A */
 
+#ifdef ISO_FUNCTION_KEY_OFFSET
       if (event->code < FUNCTION_KEY_OFFSET
 	  && event->code >= ISO_FUNCTION_KEY_OFFSET)
 	return modify_event_symbol (event->code - ISO_FUNCTION_KEY_OFFSET,
@@ -3755,6 +3756,7 @@
 				    (sizeof (iso_lispy_function_keys)
 				     / sizeof (iso_lispy_function_keys[0])));
       else
+#endif
 	return modify_event_symbol (event->code - FUNCTION_KEY_OFFSET,
 				    event->modifiers,
 				    Qfunction_key, Qnil,