Ignore:
Timestamp:
05/31/03 05:04:00 (21 years ago)
Author:
Nicholas Riley
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICeCoffEE/ICeCoffEE/ICeCoffEETextEdit.c

    r106 r139  
    7272                if (itemHit == kStdCancelItemIndex) {
    7373                    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);
    7577                    disableButton = ICCF_CopyLocalizedString(CFSTR("DisableAlertDisableButton"));
    7678                    CFStringRef dontDisableButton = ICCF_CopyLocalizedString(CFSTR("DisableAlertDontDisableButton"));
     
    9092                    }
    9193                    if (alertTitle != NULL) CFRelease(alertTitle);
     94                    if (alertMessageTemplate != NULL) CFRelease(alertMessageTemplate);
    9295                    if (alertMessage != NULL) CFRelease(alertMessage);
     96                    if (appName != NULL) CFRelease(appName);
    9397                    if (disableButton != NULL) CFRelease(disableButton);
    9498                    if (dontDisableButton != NULL) CFRelease(dontDisableButton);
Note: See TracChangeset for help on using the changeset viewer.