diff src/macselect.c @ 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 6f17f4d8d9d6
children 3d45362f1d38
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);