Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 210 → Rev 211

/trunk/scripting.c
78,8 → 78,10
// sprintf(debug, "getAeteKey %c with title %s/%s in STANDALONE PLUGIN", c, INPLACEP2CSTR(parm->title), INPLACEP2CSTR(parm->category));
// simplealert(debug);
 
// Use random AETE keys, because AppleScript has a global namespace
// and therefore requires unique AETE keys
data = (char*)malloc(0x300);
if (!data) return 'xxxx';
if (!data) return 0;
sprintf(data, "%s %s %c",
INPLACEP2CSTR(parm->category),
INPLACEP2CSTR(parm->title),
97,7 → 99,8
if (c == 'G') return 'xprG';
if (c == 'B') return 'xprB';
if (c == 'A') return 'xprA';
return 'cTl0' + (c - '0');
if ((c >= '0') && (c <= '9')) return 'cTl0' + (c - '0');
return 0;
}
}