w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit edd8f2d3dd2caafce8545f85c6f199e31619f731
parent 6e947fa389c51ec438ee4e4d18122bbfb69300e6
Author: ukai <ukai>
Date:   Mon,  2 Dec 2002 17:55:46 +0000

fix indent

Diffstat:
Mfile.c | 2+-
Mhtml.c | 5+++--
Mmap.c | 4++--
3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/file.c b/file.c @@ -5351,7 +5351,7 @@ addLink(Buffer *buf, struct parsed_tag *tag) i->next = l; } else - buf->linklist = l; + buf->linklist = l; } void diff --git a/html.c b/html.c @@ -19,7 +19,8 @@ unsigned char ALST_LI[] = { ATTR_TYPE, ATTR_VALUE, ATTR_CORE }; unsigned char ALST_HR[] = { ATTR_WIDTH, ATTR_ALIGN, ATTR_CORE }; #define MAXA_HR MAXA_CORE + 2 unsigned char ALST_LINK[] = { ATTR_HREF, ATTR_HSEQ, ATTR_REL, ATTR_REV, - ATTR_TITLE, ATTR_TYPE, ATTR_CORE }; + ATTR_TITLE, ATTR_TYPE, ATTR_CORE +}; #define MAXA_LINK MAXA_CORE + sizeof ALST_LINK/sizeof ALST_LINK[0] - 1 unsigned char ALST_DL[] = { ATTR_COMPACT, ATTR_CORE }; #define MAXA_DL MAXA_CORE + 1 @@ -223,7 +224,7 @@ TagInfo TagMAP[MAX_HTMLTAG] = { {"/sup", NULL, 0, 0}, /* 101 HTML_N_SUP */ {"sub", NULL, 0, 0}, /* 102 HTML_SUB */ {"/sub", NULL, 0, 0}, /* 103 HTML_N_SUB */ - {"link", ALST_LINK, MAXA_LINK, 0}, /* 104 HTML_LINK */ + {"link", ALST_LINK, MAXA_LINK, 0}, /* 104 HTML_LINK */ {NULL, NULL, 0, 0}, /* 105 Undefined */ /* pseudo tag */ diff --git a/map.c b/map.c @@ -417,9 +417,9 @@ append_map_info(Buffer *buf, Str tmp, FormItemList *fi) /* append links */ static void -append_link_info(Buffer *buf, Str html, LinkList *link) +append_link_info(Buffer *buf, Str html, LinkList * link) { - LinkList *l; + LinkList *l; ParsedURL pu; char *url;