diff options
author | Damiano Galassi <[email protected]> | 2017-01-12 19:56:14 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2017-01-12 19:56:14 +0100 |
commit | cd858bced3ec13da9ff25d935b8c5166ad9a60b7 (patch) | |
tree | 39ccfd1c1310fa5e9051f3fcc2bf4f949434a184 | |
parent | 3f1b45f43c9921810d6a1ef2e3117b6a52632f64 (diff) |
MacGui: fix string encoding when converting chapters titles to NSString.
-rw-r--r-- | macosx/HBTitle.m | 2 |
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 { |