mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
use correct format string for alert message
This commit is contained in:
parent
1dcb70a12f
commit
2bd5b250c4
@ -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] ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user