aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--c/data.cpp3
1 files changed, 3 insertions, 0 deletions
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<const xmlChar*>("href")));
}
+
+ if (nodes->nodeNr > s_window->cfg.cEp)
+ s_window->cfg.cEp = nodes->nodeNr;
}
void FetchScreenwriters(unsigned char* sig)