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

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


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

macosx: fix UTF8 rendering issue in question dialog

(cherry picked from commit 20a9ce3c2a8cfd557dc986b1750f301c1756132b)

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

 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