From: Adam Dickmeiss Date: Thu, 15 Nov 2001 08:41:24 +0000 (+0000) Subject: Fix for weight (bug introduced by previous commit). X-Git-Tag: ZEBRA.1.1.stable~7 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=c4760eba3ea62db555c516243d588db18bcdacf8;p=idzebra-moved-to-github.git Fix for weight (bug introduced by previous commit). --- diff --git a/util/zebramap.c b/util/zebramap.c index 976f5b4..42c57e6 100644 --- a/util/zebramap.c +++ b/util/zebramap.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: zebramap.c,v $ - * Revision 1.22 2001-11-14 22:06:27 adam + * Revision 1.23 2001-11-15 08:41:24 adam + * Fix for weight (bug introduced by previous commit). + * + * Revision 1.22 2001/11/14 22:06:27 adam * Rank-weight may be controlled via query. * * Revision 1.21 2001/01/22 10:42:56 adam @@ -556,7 +559,7 @@ int zebra_maps_attr (ZebraMaps zms, Z_AttributesPlusTerm *zapt, if (relation_value == 102) { if (weight_value == -1) - weight_value == 34; + weight_value = 34; sprintf (rank_type, "rank,%d", weight_value); } if (*complete_flag)