From 2f405fd826dd2f2e837fe3557274fdc2c08d2f02 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 19 Nov 2003 19:06:41 +0000 Subject: [PATCH] For Scan, yaz-client shows displayTerm if present --- client/client.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/client.c b/client/client.c index ab8fa03..841ba06 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2003, Index Data * See the file LICENSE for details. * - * $Id: client.c,v 1.212 2003-11-02 17:59:28 adam Exp $ + * $Id: client.c,v 1.213 2003-11-19 19:06:41 adam Exp $ */ #include @@ -2574,7 +2574,9 @@ int send_sortrequest(const char *arg, int newset) void display_term(Z_TermInfo *t) { - if (t->term->which == Z_Term_general) + if (t->displayTerm) + printf("%s", t->displayTerm); + else if (t->term->which == Z_Term_general) { printf("%.*s", t->term->u.general->len, t->term->u.general->buf); sprintf(last_scan_line, "%.*s", t->term->u.general->len, -- 1.7.10.4