git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/trunk@367
1a406e8e-add9-4483-a2c8-
d8cac5b7c224
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;