diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-14 13:21:56 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-14 13:21:56 +0200 |
commit | 96c074f2eaba2cee55a7c820a5e898107ccdd49b (patch) | |
tree | a4ddef5114abd9b36359b6db84ff7841be90d888 /src/ui | |
parent | 282ddd8d1101befb25a1c057696a2cb1743bc6b5 (diff) |
Fixed missing document width updates
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/documentwidget.c | 1 |
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); |