diff options
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); |