From fd1173eb6ed628525afc60633fd2d0a1201ce185 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Mon, 10 Aug 2020 17:47:37 -0300 Subject: [PATCH] Fixing "connection failed" popup message. --- src/core/linux/connect.c | 1 + src/include/lib3270/popup.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/linux/connect.c b/src/core/linux/connect.c index 6b955a2..6b7bbde 100644 --- a/src/core/linux/connect.c +++ b/src/core/linux/connect.c @@ -294,6 +294,7 @@ lib3270_disconnect(hSession); // To cleanup states. + popup->label = _("_Retry"); if(lib3270_popup(hSession,popup,!hSession->auto_reconnect_inprogress) == 0) lib3270_activate_auto_reconnect(hSession,1000); diff --git a/src/include/lib3270/popup.h b/src/include/lib3270/popup.h index d6574f4..b9c4aa3 100644 --- a/src/include/lib3270/popup.h +++ b/src/include/lib3270/popup.h @@ -115,7 +115,7 @@ * * @retval 0 User has confirmed, continue action. * @retval ECANCELED Operation was canceled. - * @retval ENOTSUP No popup handler available. + * @retval ENOTSUP Can't decide, use default behavior. */ LIB3270_EXPORT int lib3270_popup(H3270 *hSession, const LIB3270_POPUP *popup, unsigned char wait); -- libgit2 0.21.2