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

David Fuhrmann git at videolan.org
Sun Aug 25 18:22:22 CEST 2013


vlc/vlc-2.1 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sat Aug 24 09:14:40 2013 +0200| [53c613105b20372f826192fc45192215f8d62afa] | committer: Jean-Baptiste Kempf

macosx: fix another potential utf8 displaying issue in core dialogs

(cherry picked from commit 57b3ee3b2826b517636e38254b02be1350596351)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=53c613105b20372f826192fc45192215f8d62afa
---

 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 50fa6c5..0f3961d 100644
--- a/modules/gui/macosx/coredialogs.m
+++ b/modules/gui/macosx/coredialogs.m
@@ -96,7 +96,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