From 8d661807e363c973dc6a6d7e6015495e7cc3a2ab Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 15 Sep 2020 21:38:24 +0200 Subject: Add manga creators page to navigate to others works by the creators --- src/plugins/Mangadex.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/plugins/Mangadex.cpp') diff --git a/src/plugins/Mangadex.cpp b/src/plugins/Mangadex.cpp index 4afa89b..705cbc5 100644 --- a/src/plugins/Mangadex.cpp +++ b/src/plugins/Mangadex.cpp @@ -197,6 +197,9 @@ namespace QuickMedia { } }, &result_items); + if(result != 0) + goto cleanup; + BodyItemImageContext body_item_image_context; body_item_image_context.body_items = &result_items; body_item_image_context.index = 0; @@ -211,6 +214,9 @@ namespace QuickMedia { } }, &body_item_image_context); + if(result != 0) + goto cleanup; + body_item_image_context.index = 0; result = quickmedia_html_find_nodes_xpath(&html_search, "//div[class='pl-1']", [](QuickMediaHtmlNode *node, void *userdata) { -- cgit v1.2.3