diff options
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | etc.c | 35 | ||||
-rw-r--r-- | proto.h | 3 |
3 files changed, 10 insertions, 37 deletions
@@ -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() @@ -1138,4 +1145,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.121 2001/12/10 15:27:58 ukai Exp $ +$Id: ChangeLog,v 1.122 2001/12/10 15:42:38 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: etc.c,v 1.11 2001/12/10 15:04:09 ukai Exp $ */ +/* $Id: etc.c,v 1.12 2001/12/10 15:42:38 ukai Exp $ */ #include "fm.h" #include <pwd.h> #include "myctype.h" @@ -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) @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.15 2001/12/10 15:04:09 ukai Exp $ */ +/* $Id: proto.h,v 1.16 2001/12/10 15:42:38 ukai Exp $ */ /* * This file was automatically generated by version 1.7 of cextract. * Manual editing not recommended. @@ -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); |