From 07e33432c3ac10fb299a356cda59aa004ca88632 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Thu, 23 Jul 2020 06:51:46 -0300 Subject: [PATCH] Adding label for "ok" button on standard popup structure. --- src/include/lib3270/popup.h | 3 ++- src/ssl/notify.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/lib3270/popup.h b/src/include/lib3270/popup.h index a92c81c..08627d8 100644 --- a/src/include/lib3270/popup.h +++ b/src/include/lib3270/popup.h @@ -62,7 +62,8 @@ LIB3270_NOTIFY type; \ const char * title; \ const char * summary; \ - const char * body; + const char * body; \ + const char * label; typedef struct _LIB3270_POPUP { diff --git a/src/ssl/notify.c b/src/ssl/notify.c index 8d3c533..75df4fe 100644 --- a/src/ssl/notify.c +++ b/src/ssl/notify.c @@ -96,6 +96,7 @@ static LIB3270_POPUP * translate_ssl_error_message(const SSL_ERROR_MESSAGE *msg, else popup->title = _("Security alert"); + popup->label = _("Continue"); return popup; } -- libgit2 0.21.2