From: Adam Dickmeiss Date: Fri, 25 May 2007 06:51:35 +0000 (+0000) Subject: Fixed non-icu compilation X-Git-Tag: PAZPAR2.1.0.0~96 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=fa8314749ec5d4699dff6227b24857640e909162;p=pazpar2-moved-to-github.git Fixed non-icu compilation --- diff --git a/src/charsets.c b/src/charsets.c index 72b29ec..9254b2b 100644 --- a/src/charsets.c +++ b/src/charsets.c @@ -1,4 +1,4 @@ -/* $Id: charsets.c,v 1.3 2007-05-24 11:09:27 adam Exp $ +/* $Id: charsets.c,v 1.4 2007-05-25 06:51:35 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -68,9 +68,9 @@ pp2_charset_t pp2_charset_create(struct icu_chain * icu_chn) { pp2_charset_t pct = xmalloc(sizeof(*pct)); - pct->icu_chn = 0; pct->token_next_handler = pp2_relevance_token_a_to_z; #ifdef HAVE_ICU + pct->icu_chn = 0; if (icu_chn){ pct->icu_chn = icu_chn; pct->icu_sts = U_ZERO_ERROR;