summaryrefslogtreecommitdiffstats
path: root/macosx/HBChapterTitlesController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBChapterTitlesController.m')
-rw-r--r--macosx/HBChapterTitlesController.m4
1 files changed, 2 insertions, 2 deletions
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)