1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

[session] Show retry connection dialog also for gemini

This commit is contained in:
Witold Filipczyk 2021-07-03 09:50:41 +02:00
parent 391d463a46
commit 2acfe70caa

View File

@ -314,7 +314,7 @@ print_error_dialog(struct session *ses, struct connection_state state,
add_to_string(&msg, get_state_message(state, ses->tab->term));
if (!uri || uri->protocol != PROTOCOL_HTTPS) {
if (!uri || (uri->protocol != PROTOCOL_HTTPS && uri->protocol != PROTOCOL_GEMINI)) {
info_box(ses->tab->term, MSGBOX_FREE_TEXT,
N_("Error"), ALIGN_CENTER,
msg.source);