diff options
-rw-r--r-- | file.c | 4 | ||||
-rw-r--r-- | html.c | 7 | ||||
-rw-r--r-- | map.c | 6 |
3 files changed, 9 insertions, 8 deletions
@@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.138 2002/12/02 17:48:58 ukai Exp $ */ +/* $Id: file.c,v 1.139 2002/12/02 17:55:46 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -5351,7 +5351,7 @@ addLink(Buffer *buf, struct parsed_tag *tag) i->next = l; } else - buf->linklist = l; + buf->linklist = l; } void @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.16 2002/12/02 17:27:38 ukai Exp $ */ +/* $Id: html.c,v 1.17 2002/12/02 17:55:49 ukai Exp $ */ #include "html.h" /* Define HTML Tag Infomation Table */ @@ -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 */ @@ -1,4 +1,4 @@ -/* $Id: map.c,v 1.17 2002/12/02 17:27:39 ukai Exp $ */ +/* $Id: map.c,v 1.18 2002/12/02 17:55:50 ukai Exp $ */ /* * client-side image maps */ @@ -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; |