From: ritsuka Date: Sat, 20 Dec 2014 10:53:48 +0000 (+0000) Subject: MacGui: use title->list_chapter directly instead of title->job->list_chapter. X-Git-Tag: 1.0.0~1681 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b28087941896fe23c3c66774e246a78f714781f;p=handbrake MacGui: use title->list_chapter directly instead of title->job->list_chapter. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6619 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/macosx/HBChapterTitlesController.m b/macosx/HBChapterTitlesController.m index 40adb36c9..e029b7244 100644 --- a/macosx/HBChapterTitlesController.m +++ b/macosx/HBChapterTitlesController.m @@ -54,9 +54,9 @@ if (title) { - for (int i = 0; i < hb_list_count(title->job->list_chapter); i++) + for (int i = 0; i < hb_list_count(title->list_chapter); i++) { - hb_chapter_t *chapter = hb_list_item(title->job->list_chapter, i); + hb_chapter_t *chapter = hb_list_item(title->list_chapter, i); if (chapter != NULL) { if (chapter->title != NULL)