From c21a01f2a1dfff7f62636b251d4d129a9f0fbeec Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Thu, 11 Nov 2010 13:04:57 +0100 Subject: [PATCH] Fix copy and paste code --- src/icu_chain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/icu_chain.c b/src/icu_chain.c index 8cc9a64..4bf1f14 100644 --- a/src/icu_chain.c +++ b/src/icu_chain.c @@ -176,7 +176,7 @@ struct icu_chain_step *icu_chain_step_clone(struct icu_chain_step *old) (*sp)->u.tokenizer = icu_tokenizer_clone(old->u.tokenizer); break; case YAZ_chain_step_type_stemming: - yaz_stemmer_clone(step->u.stemmer); + (*sp)->u.stemmer = yaz_stemmer_clone(old->u.stemmer); break; case ICU_chain_step_type_none: break; -- 1.7.10.4