[vlc-commits] macosx: fix UTF8 rendering issue in question dialog

Felix Paul Kühne git at videolan.org
Thu Aug 22 11:19:03 CEST 2013


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Aug 22 11:18:55 2013 +0200| [20a9ce3c2a8cfd557dc986b1750f301c1756132b] | committer: Felix Paul Kühne

macosx: fix UTF8 rendering issue in question dialog

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

 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 f9542b3..fe6af2a 100644
--- a/modules/gui/macosx/coredialogs.m
+++ b/modules/gui/macosx/coredialogs.m
@@ -111,7 +111,7 @@ static VLCCoreDialogProvider *_o_sharedInstance = nil;
     NSAlert *o_alert;
     NSInteger i_returnValue = 0;
   
-    o_alert = [NSAlert alertWithMessageText: toNSStr(p_dialog->title) defaultButton: toNSStr(p_dialog->yes) alternateButton: toNSStr(p_dialog->no) otherButton: toNSStr(p_dialog->cancel) informativeTextWithFormat: @"%s", p_dialog->message];
+    o_alert = [NSAlert alertWithMessageText: toNSStr(p_dialog->title) defaultButton: toNSStr(p_dialog->yes) alternateButton: toNSStr(p_dialog->no) otherButton: toNSStr(p_dialog->cancel) informativeTextWithFormat: toNSStr(p_dialog->message)];
     [o_alert setAlertStyle: NSInformationalAlertStyle];
     i_returnValue = [o_alert runModal];
 



More information about the vlc-commits mailing list