X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fzebramap.c;h=42c57e674b7e7e703050d2698bdcf0836a138246;hb=886253fb90810e512cacf4f02694645ead7a22e0;hp=976f5b43e28629257ecf3cc88a9fd6087bd3ca76;hpb=89d059a3e4541ff00bbb4193ba34c1dbe1e21928;p=idzebra-moved-to-github.git 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)