Changeset 139 for trunk/ICeCoffEE/ICeCoffEE/ICeCoffEETextEdit.c
- Timestamp:
- 05/31/03 05:04:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ICeCoffEE/ICeCoffEE/ICeCoffEETextEdit.c
r106 r139 72 72 if (itemHit == kStdCancelItemIndex) { 73 73 alertTitle = ICCF_CopyLocalizedString(CFSTR("DisableAlertTitle")); 74 alertMessage = ICCF_CopyLocalizedString(CFSTR("DisableAlertMessage")); 74 alertMessageTemplate = ICCF_CopyLocalizedString(CFSTR("DisableAlertMessage%@")); 75 CFStringRef appName = ICCF_CopyAppName(); 76 alertMessage = CFStringCreateWithFormat(NULL, NULL, alertMessageTemplate, appName); 75 77 disableButton = ICCF_CopyLocalizedString(CFSTR("DisableAlertDisableButton")); 76 78 CFStringRef dontDisableButton = ICCF_CopyLocalizedString(CFSTR("DisableAlertDontDisableButton")); … … 90 92 } 91 93 if (alertTitle != NULL) CFRelease(alertTitle); 94 if (alertMessageTemplate != NULL) CFRelease(alertMessageTemplate); 92 95 if (alertMessage != NULL) CFRelease(alertMessage); 96 if (appName != NULL) CFRelease(appName); 93 97 if (disableButton != NULL) CFRelease(disableButton); 94 98 if (dontDisableButton != NULL) CFRelease(dontDisableButton);
Note:
See TracChangeset
for help on using the changeset viewer.