summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2022-01-20 06:03:05 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2022-01-20 06:03:05 +0200
commitf9fbd32e745e3c82152a964887f9d301a0954f1d (patch)
tree2e07d53868530b12ae1bd81c433cfa306b86679e
parent11660029174f1874d5fff76026df4f5d00471b6c (diff)
DocumentWidget: Fixed crash when downloading a large file
-rw-r--r--src/ui/documentwidget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 6a535882..fdb55232 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -2756,6 +2756,7 @@ static void updateDocument_DocumentWidget_(iDocumentWidget *d,
2756 } 2756 }
2757 d->flags |= drawDownloadCounter_DocumentWidgetFlag; 2757 d->flags |= drawDownloadCounter_DocumentWidgetFlag;
2758 clear_PtrSet(d->view.invalidRuns); 2758 clear_PtrSet(d->view.invalidRuns);
2759 documentRunsInvalidated_DocumentWidget_(d);
2759 deinit_String(&str); 2760 deinit_String(&str);
2760 return; 2761 return;
2761 } 2762 }