]> granicus.if.org Git - handbrake/commitdiff
MacGui: use title->list_chapter directly instead of title->job->list_chapter.
authorritsuka <damiog@gmail.com>
Sat, 20 Dec 2014 10:53:48 +0000 (10:53 +0000)
committerritsuka <damiog@gmail.com>
Sat, 20 Dec 2014 10:53:48 +0000 (10:53 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6619 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/HBChapterTitlesController.m

index 40adb36c9e714083677befa512c3fb1ca3685128..e029b7244632b6c37c743d1d77fc8dc6dbac6ece 100644 (file)
@@ -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)