diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-10 15:42:38 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-10 15:42:38 +0000 |
commit | 31a9d9bffaf498555f8d01e9da79bd3c7e6a413a (patch) | |
tree | 32946ed825ebd17ae056e05d54a439ac95a1c629 /etc.c | |
parent | [w3m-dev 02648] rewrite strCmp() with strcmp() (diff) | |
download | w3m-31a9d9bffaf498555f8d01e9da79bd3c7e6a413a.tar.gz w3m-31a9d9bffaf498555f8d01e9da79bd3c7e6a413a.zip |
[w3m-dev 02647]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | etc.c | 35 |
1 files changed, 1 insertions, 34 deletions
@@ -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) |