diff options
author | John Ankarström <john@ankarstrom.se> | 2022-11-25 00:31:52 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-11-25 00:31:52 +0100 |
commit | c2019938ca188bc322e839507c82ec03ee7a9dac (patch) | |
tree | a23e0067d2f2933fb4df762e175223278c0abaed /c/data.cpp | |
parent | b5917be252caf9d38ae9466352c4176ef25732e3 (diff) | |
download | EpisodeBrowser-c2019938ca188bc322e839507c82ec03ee7a9dac.tar.gz |
Fix episode fetch bug.
Fetched episodes would not be displayed, as the episode count was not
updated.
Diffstat (limited to 'c/data.cpp')
-rw-r--r-- | c/data.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -223,6 +223,9 @@ void FetchData(unsigned char* sig) WcharsFromXmlchars(d.wiki, xmlGetProp(nodeLink, reinterpret_cast<const xmlChar*>("href"))); } + + if (nodes->nodeNr > s_window->cfg.cEp) + s_window->cfg.cEp = nodes->nodeNr; } void FetchScreenwriters(unsigned char* sig) |