diff options
author | Rodeo <[email protected]> | 2013-07-22 13:47:34 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-07-22 13:47:34 +0000 |
commit | 6db23e62d32fda85811d507725e494fede868883 (patch) | |
tree | b03841f9d8030405e7adf2a40bc65ec7dfe0f45a | |
parent | 19108e773a915ad047d99315086cdaafb335c392 (diff) |
MacGui: fix UI lockup when adding a chapter with a name containing non-UTF8 characters.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5657 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | macosx/ChapterTitles.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/ChapterTitles.m b/macosx/ChapterTitles.m index d568af8a4..1ff8b1194 100644 --- a/macosx/ChapterTitles.m +++ b/macosx/ChapterTitles.m @@ -41,7 +41,8 @@ if (chapter->title != NULL) { [fChapterTitlesArray addObject:[NSString - stringWithUTF8String:chapter->title]]; + stringWithFormat:@"%s", + chapter->title]]; } else { |