Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 402 → Rev 403

/trunk/preview.c
508,7 → 508,7
preview_pmap.baseAddr = imageptr;
preview_pmask.maskData = imageptr+3; // FIXME: is this offset correct for all modes?!
 
if(gpb->propertyProcs->getPropertyProc){
if((gpb->propertyProcs != NULL) && gpb->propertyProcs->getPropertyProc){
gpb->propertyProcs->getPropertyProc(kPhotoshopSignature,propWatchSuspension,0,&watchsusp,NULL);
gpb->propertyProcs->setPropertyProc(kPhotoshopSignature,propWatchSuspension,0,watchsusp+1,NULL);
}
515,7 → 515,7
 
e = gpb->displayPixels(&preview_pmap,&srcRect,imagebounds.top,imagebounds.left,hdc);
 
if(gpb->propertyProcs->getPropertyProc)
if((gpb->propertyProcs != NULL) && gpb->propertyProcs->getPropertyProc)
gpb->propertyProcs->setPropertyProc(kPhotoshopSignature,propWatchSuspension,0,watchsusp,NULL);
}
return e;