use correct format string for alert message

This commit is contained in:
Stephan Witt 2012-12-13 22:23:06 +01:00
parent 1dcb70a12f
commit 2bd5b250c4

View File

@ -172,7 +172,7 @@ void LinkBackRunAppNotFoundPanel(NSString* appName, NSURL* url)
title = [NSString stringWithFormat: title, appName] ;
result = NSRunCriticalAlertPanel(title, msg, ok, urlstr, nil) ;
result = NSRunCriticalAlertPanel(title, @"%@", ok, urlstr, nil, msg) ;
if (NSAlertAlternateReturn == result) {
[[NSWorkspace sharedWorkspace] openURL: url] ;
}