]> granicus.if.org Git - handbrake/commitdiff
MacGui: fix string encoding when converting chapters titles to NSString.
authorDamiano Galassi <damiog@gmail.com>
Thu, 12 Jan 2017 18:56:14 +0000 (19:56 +0100)
committerDamiano Galassi <damiog@gmail.com>
Thu, 12 Jan 2017 18:56:14 +0000 (19:56 +0100)
macosx/HBTitle.m

index acbaddceafd8465def8f41464239cb258617c343..b07e7f270b32350f8138ffbf91bb208e0c3d2449 100644 (file)
@@ -249,7 +249,7 @@ extern NSString *keySubTrackType;
                 NSString *title;
                 if (chapter->title != NULL)
                 {
-                    title = [NSString stringWithFormat:@"%s", chapter->title];
+                    title = @(chapter->title);
                 }
                 else
                 {