1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

silence warnings about string literals

This commit is contained in:
Mitchell Livingston 2012-08-13 00:56:52 +00:00
parent 9c8395d109
commit 06d250a7a2

View file

@ -653,7 +653,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
NSBeginAlertSheet(NSLocalizedString(@"Are you sure you want to quit?", "Confirm Quit panel -> title"),
NSLocalizedString(@"Quit", "Confirm Quit panel -> button"),
NSLocalizedString(@"Cancel", "Confirm Quit panel -> button"), nil, fWindow, self,
@selector(quitSheetDidEnd:returnCode:contextInfo:), nil, nil, message);
@selector(quitSheetDidEnd:returnCode:contextInfo:), nil, nil, @"%@", message);
return NSTerminateLater;
}
}
@ -1407,7 +1407,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
NSBeginAlertSheet(title, NSLocalizedString(@"Remove", "Removal confirm panel -> button"),
NSLocalizedString(@"Cancel", "Removal confirm panel -> button"), nil, fWindow, self,
nil, @selector(removeSheetDidEnd:returnCode:contextInfo:), dict, message);
nil, @selector(removeSheetDidEnd:returnCode:contextInfo:), dict, @"%@", message);
return;
}
}