From: konn Date: Tue, 13 Jun 2006 19:27:23 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v0.14.1~1514 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7b4f401b1919d89623c561194c1f0cd70c1cc347;p=modchxj%2Fmod_chxj.git *** empty log message *** git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/trunk@594 1a406e8e-add9-4483-a2c8-d8cac5b7c224 --- diff --git a/src/chxj_jhtml.c b/src/chxj_jhtml.c index 9a3c852b..b17f63e2 100644 --- a/src/chxj_jhtml.c +++ b/src/chxj_jhtml.c @@ -1838,15 +1838,14 @@ s_jhtml_start_select_tag(jhtml_t* jhtml, Node* child) } } - if (size != NULL) - { + if (size) jhtml->out = apr_pstrcat(r->pool, jhtml->out, " size=\"",size,"\"", NULL); - } - if (name != NULL) - { + + if (name) jhtml->out = apr_pstrcat(r->pool, jhtml->out, " name=\"",name,"\"", NULL); - } + jhtml->out = apr_pstrcat(r->pool, jhtml->out, ">\n", NULL); + return jhtml->out; }