summaryrefslogtreecommitdiffstats
path: root/macosx/HBTitle.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-01-12 19:56:14 +0100
committerDamiano Galassi <[email protected]>2017-01-12 19:56:14 +0100
commitcd858bced3ec13da9ff25d935b8c5166ad9a60b7 (patch)
tree39ccfd1c1310fa5e9051f3fcc2bf4f949434a184 /macosx/HBTitle.m
parent3f1b45f43c9921810d6a1ef2e3117b6a52632f64 (diff)
MacGui: fix string encoding when converting chapters titles to NSString.
Diffstat (limited to 'macosx/HBTitle.m')
-rw-r--r--macosx/HBTitle.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBTitle.m b/macosx/HBTitle.m
index acbaddcea..b07e7f270 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
{