From 09fd907f284b72e130bec7ff2fa9a293098c3785 Mon Sep 17 00:00:00 2001 From: konn Date: Wed, 7 Jun 2006 18:21:15 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/trunk@257 1a406e8e-add9-4483-a2c8-d8cac5b7c224 --- src/chxj_xhtml_mobile_1_0.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/chxj_xhtml_mobile_1_0.c b/src/chxj_xhtml_mobile_1_0.c index 58269b59..b6fbb755 100644 --- a/src/chxj_xhtml_mobile_1_0.c +++ b/src/chxj_xhtml_mobile_1_0.c @@ -1669,25 +1669,22 @@ s_xhtml_1_0_start_div_tag(xhtml_t* xhtml, Node* child) xhtml->out = apr_pstrcat(r->pool, xhtml->out, "pool, val); } } - if (align != NULL) - { + if (align) xhtml->out = apr_pstrcat(r->pool, xhtml->out, " align=\"", align, "\"", NULL); - } xhtml->out = apr_pstrcat(r->pool, xhtml->out, ">", NULL); + return xhtml->out; } @@ -1726,8 +1723,7 @@ s_xhtml_1_0_chxjif_tag(xhtml_t* xhtml, Node* node) for (child = qs_get_child_node(doc, node); child; - child = qs_get_next_node(doc, child)) - { + child = qs_get_next_node(doc, child)) { xhtml->out = apr_pstrcat(r->pool, xhtml->out, child->otext, NULL); s_xhtml_1_0_chxjif_tag(xhtml, child); } -- 2.11.0