From 4991a9d63f060d93809d1efcb8b7b0776db41ab1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 3 May 2007 22:18:13 +0000 Subject: [PATCH] Fixed beta small in ISO5428 conversion --- src/siconv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/siconv.c b/src/siconv.c index 9b23c63..2795af6 100644 --- a/src/siconv.c +++ b/src/siconv.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: siconv.c,v 1.38 2007-05-03 13:14:41 adam Exp $ + * $Id: siconv.c,v 1.39 2007-05-03 22:18:13 adam Exp $ */ /** * \file siconv.c @@ -399,7 +399,7 @@ static unsigned long yaz_read_iso5428_1984(yaz_iconv_t cd, unsigned char *inp, x = 0x0391; break; - case 0xe3: // Beta small + case 0xe2: // Beta small x = 0x03b2; break; case 0xc2: // Beta capital @@ -621,7 +621,7 @@ static size_t yaz_write_iso5428_1984(yaz_iconv_t cd, unsigned long x, case 0x03b1 : out[k++]=0xe1; break; case 0x0386 : out[k++]=0xa2; out[k++]=0xc1; break; case 0x0391 : out[k++]=0xc1; break; - case 0x03b2 : out[k++]=0xe3; break; + case 0x03b2 : out[k++]=0xe2; break; case 0x0392 : out[k++]=0xc2; break; case 0x03b3 : out[k++]=0xe4; break; case 0x0393 : out[k++]=0xc4; break; -- 1.7.10.4