From: Damiano Galassi Date: Thu, 12 Jan 2017 18:56:14 +0000 (+0100) Subject: MacGui: fix string encoding when converting chapters titles to NSString. X-Git-Tag: 1.0.2~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47a5fb65254a943aff1cef2aa4278a9f72ce474a;p=handbrake MacGui: fix string encoding when converting chapters titles to NSString. (cherry picked from commit cd858bced3ec13da9ff25d935b8c5166ad9a60b7) --- diff --git a/macosx/HBTitle.m b/macosx/HBTitle.m index a1a1bf92c..67e4c4ec4 100644 --- a/macosx/HBTitle.m +++ b/macosx/HBTitle.m @@ -249,7 +249,7 @@ extern NSString *keySubTrackType; NSString *title; if (chapter->title != NULL) { - title = [NSString stringWithFormat:@"%s", chapter->title]; + title = @(chapter->title); } else {