Commit fd1173eb6ed628525afc60633fd2d0a1201ce185

Authored by Perry Werneck
1 parent 8d1d84b0

Fixing "connection failed" popup message.

src/core/linux/connect.c
... ... @@ -294,6 +294,7 @@
294 294  
295 295 lib3270_disconnect(hSession); // To cleanup states.
296 296  
  297 + popup->label = _("_Retry");
297 298 if(lib3270_popup(hSession,popup,!hSession->auto_reconnect_inprogress) == 0)
298 299 lib3270_activate_auto_reconnect(hSession,1000);
299 300  
... ...
src/include/lib3270/popup.h
... ... @@ -115,7 +115,7 @@
115 115 *
116 116 * @retval 0 User has confirmed, continue action.
117 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 120 LIB3270_EXPORT int lib3270_popup(H3270 *hSession, const LIB3270_POPUP *popup, unsigned char wait);
121 121  
... ...