Commit fd1173eb6ed628525afc60633fd2d0a1201ce185
1 parent
8d1d84b0
Exists in
master
and in
3 other branches
Fixing "connection failed" popup message.
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
src/core/linux/connect.c
@@ -294,6 +294,7 @@ | @@ -294,6 +294,7 @@ | ||
294 | 294 | ||
295 | lib3270_disconnect(hSession); // To cleanup states. | 295 | lib3270_disconnect(hSession); // To cleanup states. |
296 | 296 | ||
297 | + popup->label = _("_Retry"); | ||
297 | if(lib3270_popup(hSession,popup,!hSession->auto_reconnect_inprogress) == 0) | 298 | if(lib3270_popup(hSession,popup,!hSession->auto_reconnect_inprogress) == 0) |
298 | lib3270_activate_auto_reconnect(hSession,1000); | 299 | lib3270_activate_auto_reconnect(hSession,1000); |
299 | 300 |
src/include/lib3270/popup.h
@@ -115,7 +115,7 @@ | @@ -115,7 +115,7 @@ | ||
115 | * | 115 | * |
116 | * @retval 0 User has confirmed, continue action. | 116 | * @retval 0 User has confirmed, continue action. |
117 | * @retval ECANCELED Operation was canceled. | 117 | * @retval ECANCELED Operation was canceled. |
118 | - * @retval ENOTSUP No popup handler available. | 118 | + * @retval ENOTSUP Can't decide, use default behavior. |
119 | */ | 119 | */ |
120 | LIB3270_EXPORT int lib3270_popup(H3270 *hSession, const LIB3270_POPUP *popup, unsigned char wait); | 120 | LIB3270_EXPORT int lib3270_popup(H3270 *hSession, const LIB3270_POPUP *popup, unsigned char wait); |
121 | 121 |