[vlc-commits] macosx: fix another potential utf8 displaying issue in core dialogs

David Fuhrmann git at videolan.org
Sat Aug 24 09:16:08 CEST 2013


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sat Aug 24 09:14:40 2013 +0200| [57b3ee3b2826b517636e38254b02be1350596351] | committer: David Fuhrmann

macosx: fix another potential utf8 displaying issue in core dialogs

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=57b3ee3b2826b517636e38254b02be1350596351
---

 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 55a37c3..48b1bab 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];
 }



More information about the vlc-commits mailing list