Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 283 → Rev 284

/trunk/main.c
86,6 → 86,10
OSErr e = noErr;
char *reason;
 
#ifdef SHOW_HOST_DEBUG
char* tmp;
#endif
 
#ifdef WIN_ENV
// For Windows, we use an activation context to enforce that our Manifest resource will
// be used. This allows us to use Visual Styles, even if the host application does not
94,6 → 98,10
BOOL activationContextUsed;
#endif
 
// ---------------------------------------------------------------------
 
EnterCodeResource();
 
#ifdef WIN_ENV
// The first 64KB of address space is always invalid
if ((intptr_t)result <= 0xffff) {
118,12 → 126,10
}
#endif
 
EnterCodeResource();
 
#ifdef SHOW_HOST_DEBUG
char* s = (char*)malloc(512);
sprintf(s, "Host signature: '%c%c%c%c' (%d)\nMaxSpace32 = %d\nMaxSpace64 = %lld\nNum buffer procs: %d", (pb->hostSig >> 24) & 0xFF, (pb->hostSig >> 16) & 0xFF, (pb->hostSig >> 8) & 0xFF, pb->hostSig & 0xFF, pb->hostSig, pb->maxSpace, pb->maxSpace64, pb->bufferProcs->numBufferProcs);
simplealert(s);
tmp = (char*)malloc(512);
sprintf(tmp, "Host signature: '%c%c%c%c' (%d)\nMaxSpace32 = %d\nMaxSpace64 = %lld\nNum buffer procs: %d", (pb->hostSig >> 24) & 0xFF, (pb->hostSig >> 16) & 0xFF, (pb->hostSig >> 8) & 0xFF, pb->hostSig & 0xFF, pb->hostSig, pb->maxSpace, pb->maxSpace64, pb->bufferProcs->numBufferProcs);
simplealert(tmp);
#endif
 
if (pb->hostSig == HOSTSIG_ADOBE_PREMIERE) {