From c2019938ca188bc322e839507c82ec03ee7a9dac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 25 Nov 2022 00:31:52 +0100 Subject: Fix episode fetch bug. Fetched episodes would not be displayed, as the episode count was not updated. --- c/data.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/c/data.cpp b/c/data.cpp index 05de840..cf5a38d 100644 --- a/c/data.cpp +++ b/c/data.cpp @@ -223,6 +223,9 @@ void FetchData(unsigned char* sig) WcharsFromXmlchars(d.wiki, xmlGetProp(nodeLink, reinterpret_cast("href"))); } + + if (nodes->nodeNr > s_window->cfg.cEp) + s_window->cfg.cEp = nodes->nodeNr; } void FetchScreenwriters(unsigned char* sig) -- cgit v1.2.3