w3m

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

commit c19ed4318f879a17ec8ca8b04d51cda2dd42bfd0
parent 972766ca9d0c37f20708766d906249478a83a2bb
Author: ukai <ukai>
Date:   Mon, 10 Dec 2001 15:42:38 +0000

[w3m-dev 02647]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>

Diffstat:
MChangeLog | 7+++++++
Metc.c | 33---------------------------------
Mproto.h | 1-
3 files changed, 7 insertions(+), 34 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,10 @@ +2001-12-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02647] + * proto.h (arg_is): deleted + * etc.c (arg_is): ditto + * etc.c (searchAnchorArg): ditto + 2001-12-11 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> * [w3m-dev 02648] rewrite strCmp() with strcmp() diff --git a/etc.c b/etc.c @@ -72,20 +72,6 @@ strncasecmp(char *s1, char *s2, int n) #endif /* not HAVE_STRCASECMP */ int -arg_is(char *str, char *tag) -{ - while (*tag) { - if (tolower(*tag) != tolower(*str)) - return 0; - tag++; - str++; - } - while (*str && (*str == ' ' || *str == '\t')) - str++; - return (*str == '='); -} - -int columnSkip(Buffer *buf, int offset) { int i, maxColumn; @@ -207,25 +193,6 @@ gethtmlcmd(char **s) return cmd; } -static char * -searchAnchorArg(char **arg) -{ - char *p; - if (**arg == '"') { - (*arg)++; - p = *arg; - while (*p && *p != '"') - p++; - } - else { - p = *arg; - while (*p && *p != '>' && *p != ' ' && *p != ',' && - *p != '\t' && *p != '\n') - p++; - } - return p; -} - #ifdef USE_ANSI_COLOR static int parse_ansi_color(char **str, Lineprop *effect, Linecolor *color) diff --git a/proto.h b/proto.h @@ -229,7 +229,6 @@ extern void cursorHome(Buffer *buf); extern void arrangeCursor(Buffer *buf); extern void arrangeLine(Buffer *buf); extern void cursorXY(Buffer *buf, int x, int y); -extern int arg_is(char *str, char *tag); extern int columnSkip(Buffer *buf, int offset); extern int columnPos(Line *line, int column); extern Line *lineSkip(Buffer *buf, Line *line, int offset, int last);