From 96c074f2eaba2cee55a7c820a5e898107ccdd49b Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 14 Dec 2021 13:21:56 +0200 Subject: Fixed missing document width updates --- src/ui/documentwidget.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui') diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index bd3fe7ad..b610b4c5 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c @@ -1307,6 +1307,7 @@ static void showErrorPage_DocumentWidget_(iDocumentWidget *d, enum iGmStatusCode } /* Make a new document for the error page.*/ iGmDocument *errorDoc = new_GmDocument(); + setWidth_GmDocument(errorDoc, documentWidth_DocumentWidget_(d), width_Widget(d)); setUrl_GmDocument(errorDoc, d->mod.url); setFormat_GmDocument(errorDoc, gemini_SourceFormat); replaceDocument_DocumentWidget_(d, errorDoc); -- cgit v1.2.3