From dfc317f6ab6de00779e9c3d4a12d92644e1ac358 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Fri, 10 Jan 2003 16:59:32 +0000 Subject: fix indent --- map.c | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/map.c b/map.c index 941f2a7..16c280c 100644 --- a/map.c +++ b/map.c @@ -1,4 +1,4 @@ -/* $Id: map.c,v 1.23 2003/01/10 16:58:31 ukai Exp $ */ +/* $Id: map.c,v 1.24 2003/01/10 16:59:32 ukai Exp $ */ /* * client-side image maps */ @@ -478,7 +478,8 @@ append_frame_info(Buffer *buf, Str html, struct frameset *set, int level) Strcat_m_charp(html, " ", q, "
\n", NULL); #ifdef USE_SSL if (frame.body->ssl_certificate) - Strcat_m_charp(html, "

SSL certificate

\n",
+		    Strcat_m_charp(html,
+				   "

SSL certificate

\n",
 				   html_quote(frame.body->ssl_certificate),
 				   "
\n", NULL); #endif @@ -515,7 +516,7 @@ page_info_panel(Buffer *buf) if (all == 0 && buf->lastLine) all = buf->lastLine->linenumber; Strcat_m_charp(tmp, "", - "
Title", + "
Title", html_quote(buf->buffername), "
Current URL", html_quote(parsedURL2Str(&buf->currentURL)->ptr), @@ -530,8 +531,7 @@ page_info_panel(Buffer *buf) "
Number of lines", Sprintf("%d", all)->ptr, "
Transferred bytes", - Sprintf("%d", buf->trbyte)->ptr, - NULL); + Sprintf("%d", buf->trbyte)->ptr, NULL); a = retrieveCurrentAnchor(buf); if (a != NULL) { @@ -539,24 +539,27 @@ page_info_panel(Buffer *buf) parseURL2(a->url, &pu, baseURL(buf)); s = parsedURL2Str(&pu); aurl = html_quote(s->ptr); - Strcat_m_charp(tmp, "
URL of current anchorURL of current anchor", aurl, "", NULL); } a = retrieveCurrentImg(buf); if (a != NULL) { parseURL2(a->url, &pu, baseURL(buf)); s = parsedURL2Str(&pu); - Strcat_m_charp(tmp, "
URL of current imageptr), "\">", html_quote(s->ptr), - "", NULL); + Strcat_m_charp(tmp, + "
URL of current imageptr), "\">", html_quote(s->ptr), "", + NULL); } a = retrieveCurrentForm(buf); if (a != NULL) { FormItemList *fi = (FormItemList *)a->url; - Strcat_m_charp(tmp, "
Method/type of current form ", + Strcat_m_charp(tmp, + "
Method/type of current form ", html_quote(form2str(fi)), NULL); - if (fi->parent->method == FORM_METHOD_INTERNAL && - !Strcmp_charp(fi->parent->action, "map")) + if (fi->parent->method == FORM_METHOD_INTERNAL + && !Strcmp_charp(fi->parent->action, "map")) append_map_info(buf, tmp, fi->parent->item); } Strcat_charp(tmp, "
\n"); -- cgit v1.2.3