changeset 75240:ffa0f75caa03

(Fmac_resume_apple_event): Set error number when descriptor type of reply is non-null.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Mon, 15 Jan 2007 08:36:29 +0000
parents 37c56b5778df
children 37fad71acf15
files src/macselect.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/macselect.c	Mon Jan 15 08:35:49 2007 +0000
+++ b/src/macselect.c	Mon Jan 15 08:36:29 2007 +0000
@@ -1390,7 +1390,7 @@
       ae = *p;
       *p = (*p)->next;
       if (INTEGERP (error_code)
-	  && ae->apple_event.descriptorType != typeNull)
+	  && ae->reply.descriptorType != typeNull)
 	{
 	  SInt32 errn = XINT (error_code);