From 8d72db34a479d6557ed961845b0a09b034033f25 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 23 Feb 2006 13:27:16 +0000 Subject: [PATCH] Use exact string compare for register types --- util/zebramap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/zebramap.c b/util/zebramap.c index ffe13c6..0f26405 100644 --- a/util/zebramap.c +++ b/util/zebramap.c @@ -1,4 +1,4 @@ -/* $Id: zebramap.c,v 1.32.2.4 2005-03-11 21:10:13 adam Exp $ +/* $Id: zebramap.c,v 1.32.2.5 2006-02-23 13:27:16 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -277,7 +277,7 @@ chrmaptab zebra_charmap_get (ZebraMaps zms, unsigned reg_id) } if (!zm->maptab) { - if (!zm->maptab_name || !yaz_matchstr (zm->maptab_name, "@")) + if (!zm->maptab_name || !strcmp (zm->maptab_name, "@")) return NULL; if (!(zm->maptab = chrmaptab_create (zms->tabpath, zm->maptab_name, 0, -- 1.7.10.4