From 8f4d3b66f1fe0e525415ba6ffe473680ff29d356 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Wed, 5 Feb 2003 16:45:07 +0000 Subject: fix indent --- map.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'map.c') diff --git a/map.c b/map.c index c25cc92..d33513c 100644 --- a/map.c +++ b/map.c @@ -1,4 +1,4 @@ -/* $Id: map.c,v 1.27 2003/02/05 16:43:59 ukai Exp $ */ +/* $Id: map.c,v 1.28 2003/02/05 16:45:08 ukai Exp $ */ /* * client-side image maps */ @@ -277,9 +277,9 @@ follow_map_panel(Buffer *buf, char *name) parseURL2(a->url, &pu, baseURL(buf)); p = parsedURL2Str(&pu)->ptr; q = html_quote(p); - if (DecodeURL) + if (DecodeURL) p = html_quote(url_unquote_conv(p, buf->document_code)); - else + else p = q; Strcat_m_charp(mappage, "", html_quote(*a->alt ? a->alt : mybasename(a->url)), @@ -411,9 +411,9 @@ append_map_info(Buffer *buf, Str tmp, FormItemList *fi) continue; parseURL2(a->url, &pu, baseURL(buf)); q = html_quote(parsedURL2Str(&pu)->ptr); - if (DecodeURL) + if (DecodeURL) p = html_quote(url_unquote_conv(a->url, buf->document_code)); - else + else p = html_quote(a->url); Strcat_m_charp(tmp, "  ", @@ -451,7 +451,7 @@ append_link_info(Buffer *buf, Str html, LinkList * link) Strcat_charp(html, "[Rev]"); if (!l->url) url = "(empty)"; - else if (DecodeURL) + else if (DecodeURL) url = html_quote(url_unquote_conv(l->url, buf->document_code)); else url = html_quote(l->url); @@ -581,8 +581,7 @@ page_info_panel(Buffer *buf) p = q; Strcat_m_charp(tmp, "URL of current image", p, "", - NULL); + q, "\">", p, "", NULL); } a = retrieveCurrentForm(buf); if (a != NULL) { -- cgit v1.2.3