From: Adam Dickmeiss Date: Tue, 19 Dec 2006 22:41:28 +0000 (+0000) Subject: Honor G1 set in MARC-8 decoding. X-Git-Tag: YAZ.2.1.44~6 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=7aebc8794443afa7792d665b9fc401fd55611cf6;p=yaz-moved-to-github.git Honor G1 set in MARC-8 decoding. --- 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++;