diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2022-02-26 16:40:15 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2022-02-26 16:41:43 +0000 |
commit | 973689b1de83eb3dee860a3bb6895e8d5a7b42b2 (patch) | |
tree | db9c7c2de4c7787b51ff6a0eecc9c75315723454 /src/exim_monitor | |
parent | 990ba85353f824868993d353fda1ede97fd504bf (diff) | |
download | exim4-973689b1de83eb3dee860a3bb6895e8d5a7b42b2.tar.gz |
tidying
Diffstat (limited to 'src/exim_monitor')
-rw-r--r-- | src/exim_monitor/em_TextPop.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/exim_monitor/em_TextPop.c b/src/exim_monitor/em_TextPop.c index 7e8a2eba1..f8fdefbf3 100644 --- a/src/exim_monitor/em_TextPop.c +++ b/src/exim_monitor/em_TextPop.c @@ -246,7 +246,7 @@ Cardinal * num_params; Arg args[1]; #ifdef notdef - if (ctx->text.source->Search == NULL) { + if (!ctx->text.source->Search) { XBell(XtDisplay(w), 0); return; } @@ -279,16 +279,15 @@ Cardinal * num_params; return; } - if (ctx->text.search== NULL) { + if (!ctx->text.search) { ctx->text.search = XtNew(struct SearchAndReplace); ctx->text.search->search_popup = CreateDialog(w, ptr, "search", AddSearchChildren); XtRealizeWidget(ctx->text.search->search_popup); SetWMProtocolTranslations(ctx->text.search->search_popup); } - else if (*num_params > 1) { + else if (*num_params > 1) XtVaSetValues(ctx->text.search->search_text, XtNstring, ptr, NULL); - } XtSetArg(args[0], XtNeditType,&edit_mode); XtGetValues(ctx->text.source, args, ONE); |