(Fmac_resume_apple_event): Set error number when

descriptor type of reply is non-null.
This commit is contained in:
YAMAMOTO Mitsuharu 2007-01-15 08:36:29 +00:00
parent 9a5a6add27
commit bd619af503

View file

@ -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);