From 8591252040a76f525e76640cc4aab7981fd70bd2 Mon Sep 17 00:00:00 2001 From: konn Date: Fri, 9 Jun 2006 11:23:39 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/trunk@367 1a406e8e-add9-4483-a2c8-d8cac5b7c224 --- src/chxj_hdml.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/chxj_hdml.c b/src/chxj_hdml.c index 4a20afd2..f9273bd7 100644 --- a/src/chxj_hdml.c +++ b/src/chxj_hdml.c @@ -538,21 +538,21 @@ s_hdml_search_emoji(hdml_t* hdml, char* txt, char** rslt) len = strlen(txt); r = hdml->doc->r; - if (spec == NULL) + if (!spec) ap_log_rerror(APLOG_MARK, APLOG_DEBUG,0,r, "spec is NULL"); for (ee = hdml->conf->emoji; ee; - ee = ee->next) - { + ee = ee->next) { unsigned char hex1byte; unsigned char hex2byte; - if (ee->imode == NULL) - { + + if (!ee->imode) { ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "emoji->imode is NULL"); continue; } + hex1byte = ee->imode->hex1byte & 0xff; hex2byte = ee->imode->hex2byte & 0xff; -- 2.11.0