diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-02-06 17:21:42 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-02-06 17:21:42 +0000 |
commit | adf53cebd22767a9b091bb8ff2666929d590d7cf (patch) | |
tree | bc2375e4891d2856654930132d43eb8c273dc814 /etc.c | |
parent | [w3m-dev 03733] Re: display decoded URL (diff) | |
download | w3m-adf53cebd22767a9b091bb8ff2666929d590d7cf.tar.gz w3m-adf53cebd22767a9b091bb8ff2666929d590d7cf.zip |
[w3m-dev 03735] Re: make error of checkType arg
* etc.c (checkType): delete USE_ANSI_COLOR
* file.c (addnewline): macro for USE_ANSI_COLOR
(readHeader): rewrite of USE_ANSI_COLOR
(HTMLlineproc2body): ditto
(addnewline2): ditto
(addnewline): ditto
(loadBuffer): ditto
(getNextPage): ditto
* proto.h (checkType): macro for USE_ANSI_COLOR
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | etc.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: etc.c,v 1.63 2003/02/05 16:43:57 ukai Exp $ */ +/* $Id: etc.c,v 1.64 2003/02/06 17:21:43 ukai Exp $ */ #include "fm.h" #include <pwd.h> #include "myctype.h" @@ -236,11 +236,7 @@ parse_ansi_color(char **str, Lineprop *effect, Linecolor *color) */ Str -checkType(Str s, Lineprop **oprop -#ifdef USE_ANSI_COLOR - , Linecolor **ocolor -#endif - ) +checkType(Str s, Lineprop **oprop, Linecolor **ocolor) { Lineprop mode; Lineprop effect = PE_NORMAL; |