diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/documentwidget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 6ce53e44..139f622c 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -823,9 +823,9 @@ static void showErrorPage_DocumentWidget_(iDocumentWidget *d, enum iGmStatusCode | |||
823 | case unsupportedMimeType_GmStatusCode: { | 823 | case unsupportedMimeType_GmStatusCode: { |
824 | iString *key = collectNew_String(); | 824 | iString *key = collectNew_String(); |
825 | toString_Sym(SDLK_s, KMOD_PRIMARY, key); | 825 | toString_Sym(SDLK_s, KMOD_PRIMARY, key); |
826 | appendFormat_String(src, "\n```\n%s\n```\n", cstr_String(meta)); | ||
826 | appendFormat_String(src, | 827 | appendFormat_String(src, |
827 | cstr_Lang("error.unsupported.suggestsave"), | 828 | cstr_Lang("error.unsupported.suggestsave"), |
828 | cstr_String(meta), | ||
829 | cstr_String(key), | 829 | cstr_String(key), |
830 | saveToDownloads_Label); | 830 | saveToDownloads_Label); |
831 | break; | 831 | break; |
@@ -840,6 +840,7 @@ static void showErrorPage_DocumentWidget_(iDocumentWidget *d, enum iGmStatusCode | |||
840 | } | 840 | } |
841 | setBanner_GmDocument(d->doc, useBanner ? bannerType_DocumentWidget_(d) : none_GmDocumentBanner); | 841 | setBanner_GmDocument(d->doc, useBanner ? bannerType_DocumentWidget_(d) : none_GmDocumentBanner); |
842 | setFormat_GmDocument(d->doc, gemini_GmDocumentFormat); | 842 | setFormat_GmDocument(d->doc, gemini_GmDocumentFormat); |
843 | translate_Lang(src); | ||
843 | setSource_DocumentWidget(d, src); | 844 | setSource_DocumentWidget(d, src); |
844 | updateTheme_DocumentWidget_(d); | 845 | updateTheme_DocumentWidget_(d); |
845 | init_Anim(&d->scrollY, 0); | 846 | init_Anim(&d->scrollY, 0); |