0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-09-21 19:46:23 -04:00

[ecmascript] debug in check_for_rerender

This commit is contained in:
Witold Filipczyk
2021-10-07 18:27:21 +02:00
parent 8c7223882a
commit 33d8c551ea
2 changed files with 4 additions and 0 deletions

View File

@@ -278,6 +278,9 @@ delayed_reload(void *data)
void
check_for_rerender(struct ecmascript_interpreter *interpreter, const char* text)
{
#ifdef ECMASCRIPT_DEBUG
fprintf(stderr, "%s:%s %s %d\n", __FILE__, __FUNCTION__, text, interpreter->changed);
#endif
if (interpreter->changed) {
struct document_view *doc_view = interpreter->vs->doc_view;
struct document *document = doc_view->document;