From 7aebc8794443afa7792d665b9fc401fd55611cf6 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 19 Dec 2006 22:41:28 +0000 Subject: [PATCH] Honor G1 set in MARC-8 decoding. --- src/siconv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/siconv.c b/src/siconv.c index 7e9d0fd..d8bc0f0 100644 --- a/src/siconv.c +++ b/src/siconv.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2006, Index Data ApS * See the file LICENSE for details. * - * $Id: siconv.c,v 1.29 2006-08-31 18:19:53 adam Exp $ + * $Id: siconv.c,v 1.30 2006-12-19 22:41:28 adam Exp $ */ /** * \file siconv.c @@ -432,7 +432,7 @@ static unsigned long yaz_read_marc8_comb(yaz_iconv_t cd, unsigned char *inp, size_t inbytesleft0 = inbytesleft; inp++; inbytesleft--; - while(inbytesleft > 0 && strchr("(,$!", *inp)) + while(inbytesleft > 0 && strchr("(,$!)-", *inp)) { inbytesleft--; inp++; -- 1.7.10.4