OSDN Git Service

*** empty log message ***
authorkonn <konn@1a406e8e-add9-4483-a2c8-d8cac5b7c224>
Fri, 9 Jun 2006 11:24:54 +0000 (11:24 +0000)
committerkonn <konn@1a406e8e-add9-4483-a2c8-d8cac5b7c224>
Fri, 9 Jun 2006 11:24:54 +0000 (11:24 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/trunk@368 1a406e8e-add9-4483-a2c8-d8cac5b7c224

src/chxj_hdml.c

index f9273bd..95c9961 100644 (file)
@@ -556,12 +556,10 @@ s_hdml_search_emoji(hdml_t* hdml, char* txt, char** rslt)
     hex1byte = ee->imode->hex1byte & 0xff;
     hex2byte = ee->imode->hex2byte & 0xff;
 
-    if (ee->imode->string != NULL
+    if (ee->imode->string
     &&  strlen(ee->imode->string) > 0
-    &&  strncasecmp(ee->imode->string, txt, strlen(ee->imode->string)) == 0)
-    {
-      if (spec == NULL || spec->emoji_type == NULL)
-      {
+    &&  strncasecmp(ee->imode->string, txt, strlen(ee->imode->string)) == 0) {
+      if (spec == NULL || spec->emoji_type == NULL) {
         *rslt = apr_psprintf(r->pool,
                         "<IMG ICON=%s>",
                         ee->ezweb->typeA);