Rev 496 | Rev 499 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 496 | Rev 498 | ||
---|---|---|---|
Line 279... | Line 279... | ||
279 | strcat(fname, ".plugin"); |
279 | strcat(fname, ".plugin"); |
280 | #endif |
280 | #endif |
281 | 281 | ||
282 | makeDlgRet = putfile( |
282 | makeDlgRet = putfile( |
283 | #ifdef MAC_ENV |
283 | #ifdef MAC_ENV |
284 | (StringPtr)_strdup("\pMake standalone filter"), // "\p" means "Pascal string" // TODO (Not important yet): TRANSLATE |
284 | "\pMake standalone filter", // "\p" means "Pascal string" // TODO (Not important yet): TRANSLATE |
285 | (StringPtr)myc2pstr(_strdup(fname)), |
285 | myc2pstr(_strdup(fname)), // TODO: memory leak? |
286 | PS_FILTER_FILETYPE, kPhotoshopSignature, &reply, &sfr, |
286 | PS_FILTER_FILETYPE, kPhotoshopSignature, &reply, &sfr, |
287 | "8bf", &filters[0], 1 |
287 | "8bf", &filters[0], 1 |
288 | #else |
288 | #else |
289 | title, |
289 | title, |
290 | fname, |
290 | fname, |