Subversion Repositories filter_foundry

Rev

Rev 511 | Rev 536 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 511 Rev 515
Line 435... Line 435...
435
 
435
 
436
                                /* add user-specified title and category to new PiPL */
436
                                /* add user-specified title and category to new PiPL */
437
                                memcpy(newpipl,datap,origsize);
437
                                memcpy(newpipl,datap,origsize);
438
                                /* note that Windows PiPLs have 2 byte version datum in front
438
                                /* note that Windows PiPLs have 2 byte version datum in front
439
                                   that isn't reflected in struct definition or Mac resource template: */
439
                                   that isn't reflected in struct definition or Mac resource template: */
440
                                piplsize = fixpipl((PIPropertyList*)(newpipl+2),origsize-2,&title[0],&category[0],&event_id) + 2;
440
                                piplsize = fixpipl((PIPropertyList*)(newpipl+2),origsize-2,&title[0],&gdata->parm.szTitle[0],&category[0],&event_id) + 2;
441
 
441
 
442
                                /* set up the PARM resource with saved parameters */
442
                                /* set up the PARM resource with saved parameters */
443
                                memcpy(pparm,&gdata->parm,sizeof(PARM_T));
443
                                memcpy(pparm,&gdata->parm,sizeof(PARM_T));
444
 
444
 
445
                                /* Generate 'aete' resource (contains names of the parameters for the "Actions" tab in Photoshop) */
445
                                /* Generate 'aete' resource (contains names of the parameters for the "Actions" tab in Photoshop) */