]> git.eshelyaron.com Git - emacs.git/commitdiff
* keyboard.c (Fevent_convert_list): Use SREF.
authorKen Raeburn <raeburn@raeburn.org>
Tue, 16 Jul 2002 15:49:29 +0000 (15:49 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Tue, 16 Jul 2002 15:49:29 +0000 (15:49 +0000)
src/keyboard.c

index 9fea4df7538e48c7a198c344f2f28bb0f9455eaf..4866c9d636bda1d9333ebf2fce7efb33b4bc0753 100644 (file)
@@ -6045,7 +6045,7 @@ has the same base event type and all the specified modifiers.  */)
 
   /* Let the symbol A refer to the character A.  */
   if (SYMBOLP (base) && SCHARS (SYMBOL_NAME (base)) == 1)
-    XSETINT (base, SDATA (SYMBOL_NAME (base))[0]);
+    XSETINT (base, SREF (SYMBOL_NAME (base), 0));
 
   if (INTEGERP (base))
     {