From 5385d13bf89dd05da03a2df6e3a0de0385dc2a28 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 23 Sep 2006 16:10:07 +0000 Subject: [PATCH] fix previous commit --- libraries/librewrite/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/librewrite/map.c b/libraries/librewrite/map.c index 0abfd78b91..edae3114f5 100644 --- a/libraries/librewrite/map.c +++ b/libraries/librewrite/map.c @@ -354,7 +354,7 @@ rewrite_map_apply( ( struct rewrite_context * )map->lm_data, key->bv_val, &val->bv_val ); if ( val->bv_val != NULL ) { - if ( val->bv_val = key->bv_val ) { + if ( val->bv_val == key->bv_val ) { val->bv_len = key->bv_len; key->bv_val = NULL; } else { -- 2.39.5