From a92ea4f2be422ed5f52f0fc1c8b6416aebfe0c5a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 21 Aug 2007 13:19:44 +0000 Subject: [PATCH] Fixed scan continuation line not being set for displayTerm being ste --- client/client.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/client.c b/client/client.c index ce1adba..c158b00 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: client.c,v 1.349 2007-08-14 12:21:14 adam Exp $ + * $Id: client.c,v 1.350 2007-08-21 13:19:44 adam Exp $ */ /** \file client.c * \brief yaz-client program @@ -3032,13 +3032,13 @@ void display_term(Z_TermInfo *t) 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, - t->term->u.general->buf); - } else printf("Term (not general)"); + if (t->term->which == Z_Term_general) + sprintf(last_scan_line, "%.*s", t->term->u.general->len, + t->term->u.general->buf); + if (t->globalOccurrences) printf (" (%d)\n", *t->globalOccurrences); else -- 1.7.10.4