From 57b3ee3b2826b517636e38254b02be1350596351 Mon Sep 17 00:00:00 2001 From: David Fuhrmann Date: Sat, 24 Aug 2013 09:14:40 +0200 Subject: [PATCH] macosx: fix another potential utf8 displaying issue in core dialogs --- modules/gui/macosx/coredialogs.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/macosx/coredialogs.m b/modules/gui/macosx/coredialogs.m index 55a37c3403..48b1bab71d 100644 --- a/modules/gui/macosx/coredialogs.m +++ b/modules/gui/macosx/coredialogs.m @@ -100,7 +100,7 @@ static VLCCoreDialogProvider *_o_sharedInstance = nil; dialog_fatal_t *p_dialog = [o_value pointerValue]; NSAlert *o_alert; - o_alert = [NSAlert alertWithMessageText: toNSStr(p_dialog->title) defaultButton: _NS("OK") alternateButton: nil otherButton: nil informativeTextWithFormat: @"%s", p_dialog->message]; + o_alert = [NSAlert alertWithMessageText: toNSStr(p_dialog->title) defaultButton: _NS("OK") alternateButton: nil otherButton: nil informativeTextWithFormat: @"%@", toNSStr(p_dialog->message)]; [o_alert setAlertStyle: NSCriticalAlertStyle]; [o_alert runModal]; } -- 2.39.2