summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-12-14 13:21:56 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-12-14 13:21:56 +0200
commit96c074f2eaba2cee55a7c820a5e898107ccdd49b (patch)
treea4ddef5114abd9b36359b6db84ff7841be90d888 /src/ui
parent282ddd8d1101befb25a1c057696a2cb1743bc6b5 (diff)
Fixed missing document width updates
Diffstat (limited to 'src/ui')
-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 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
1307 } 1307 }
1308 /* Make a new document for the error page.*/ 1308 /* Make a new document for the error page.*/
1309 iGmDocument *errorDoc = new_GmDocument(); 1309 iGmDocument *errorDoc = new_GmDocument();
1310 setWidth_GmDocument(errorDoc, documentWidth_DocumentWidget_(d), width_Widget(d));
1310 setUrl_GmDocument(errorDoc, d->mod.url); 1311 setUrl_GmDocument(errorDoc, d->mod.url);
1311 setFormat_GmDocument(errorDoc, gemini_SourceFormat); 1312 setFormat_GmDocument(errorDoc, gemini_SourceFormat);
1312 replaceDocument_DocumentWidget_(d, errorDoc); 1313 replaceDocument_DocumentWidget_(d, errorDoc);