diff options
-rw-r--r-- | src/plugins/Manganelo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/Manganelo.cpp b/src/plugins/Manganelo.cpp index 425bf4d..a97f75a 100644 --- a/src/plugins/Manganelo.cpp +++ b/src/plugins/Manganelo.cpp @@ -135,8 +135,10 @@ namespace QuickMedia { quickmedia_html_search_deinit(&html_search); if(result == 0) last_chapter_url = url; - if(last_chapter_image_urls.empty()) + if(last_chapter_image_urls.empty()) { + last_chapter_url.clear(); return ImageResult::ERR; + } return result == 0 ? ImageResult::OK : ImageResult::ERR; } |