aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn <[email protected]>2002-07-16 15:49:29 +0000
committerKen Raeburn <[email protected]>2002-07-16 15:49:29 +0000
commit4069e0f8c82785eb144071dd46a53a4ae22d62bd (patch)
tree61636b6fd5903e782761c903f88146ec12f742a4 /src
parentf7e233a87f360242f5e8687e2a664aaaf600afb5 (diff)
* keyboard.c (Fevent_convert_list): Use SREF.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 9fea4df753..4866c9d636 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -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))
{