]> git.lyx.org Git - features.git/commitdiff
use correct format string for alert message
authorStephan Witt <switt@lyx.org>
Thu, 13 Dec 2012 21:23:06 +0000 (22:23 +0100)
committerStephan Witt <switt@lyx.org>
Thu, 13 Dec 2012 21:23:06 +0000 (22:23 +0100)
src/support/linkback/LinkBackServer.m

index b7f9394c25888eba99f1a7d61b318e45c769ce84..7a706da7535755873e64e12587e540cefce7d565 100644 (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] ;
        }