mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[session] Show retry connection dialog also for gemini
This commit is contained in:
parent
391d463a46
commit
2acfe70caa
@ -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));
|
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,
|
info_box(ses->tab->term, MSGBOX_FREE_TEXT,
|
||||||
N_("Error"), ALIGN_CENTER,
|
N_("Error"), ALIGN_CENTER,
|
||||||
msg.source);
|
msg.source);
|
||||||
|
Loading…
Reference in New Issue
Block a user