summaryrefslogtreecommitdiff
path: root/src/macselect.c
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2007-01-15 08:36:29 +0000
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2007-01-15 08:36:29 +0000
commitbd619af503516443b21a07c2a870ec37654d9281 (patch)
treea0b294b23863b952dc0e034029dab80dda681408 /src/macselect.c
parent9a5a6add275ef104f6e557005db1214ff6438955 (diff)
downloademacs-bd619af503516443b21a07c2a870ec37654d9281.tar.gz
emacs-bd619af503516443b21a07c2a870ec37654d9281.tar.bz2
emacs-bd619af503516443b21a07c2a870ec37654d9281.zip
(Fmac_resume_apple_event): Set error number when
descriptor type of reply is non-null.
Diffstat (limited to 'src/macselect.c')
-rw-r--r--src/macselect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macselect.c b/src/macselect.c
index 8d15db24144..3dda1de5b7a 100644
--- a/src/macselect.c
+++ b/src/macselect.c
@@ -1390,7 +1390,7 @@ nil, which means the event is already resumed or expired. */)
ae = *p;
*p = (*p)->next;
if (INTEGERP (error_code)
- && ae->apple_event.descriptorType != typeNull)
+ && ae->reply.descriptorType != typeNull)
{
SInt32 errn = XINT (error_code);