diff options
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r-- | macosx/Controller.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 8b7a26cc5..7681c1f3f 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -1796,7 +1796,7 @@ fWorkingCount = 0; hb_chapter_t *chapter = (hb_chapter_t *) hb_list_item( fTitle->list_chapter, i ); if( chapter != NULL ) { - [ChapterNamesArray addObject:[NSString stringWithFormat:@"%s",chapter->title]]; + [ChapterNamesArray addObject:[NSString stringWithCString:chapter->title encoding:NSUTF8StringEncoding]]; } } [queueFileJob setObject:[NSMutableArray arrayWithArray: ChapterNamesArray] forKey:@"ChapterNames"]; |