diff options
author | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-07-18 14:10:09 +0000 |
---|---|---|
committer | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-07-18 14:10:09 +0000 |
commit | 6a2579bb264742a07cdbbd52c21cb6d74324ddef (patch) | |
tree | b18c8bb5e238fc8903cf2a3b7dd4665e41b4b04d /proto.h | |
parent | set line->size (diff) | |
download | w3m-6a2579bb264742a07cdbbd52c21cb6d74324ddef.tar.gz w3m-6a2579bb264742a07cdbbd52c21cb6d74324ddef.zip |
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=242599#21
* file.c
(is_html_type): added.
(examineFile, loadGeneralFile, _saveBuffer)
(openGeneralPagerBuffer, reloadBuffer): use is_html_type() instead of strcasecmp().
(loadGeneralFile): set f.guess_tupe
* display.c
(displayBuffer): use is_html_type() instead of strcasecmp().
* buffer.c
(reshapeBuffer): use is_html_type() instead of strcasecmp().
* backend.c
(internal_get): use is_html_type() instead of strcasecmp().
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.101 2006/04/07 13:21:12 inu Exp $ */ +/* $Id: proto.h,v 1.102 2010/07/18 14:10:09 htrb Exp $ */ /* * This file was automatically generated by version 1.7 of cextract. * Manual editing not recommended. @@ -165,6 +165,7 @@ extern ParsedURL *schemeToProxy(int scheme); extern void examineFile(char *path, URLFile *uf); extern char *acceptableEncoding(); extern int dir_exist(char *path); +extern int is_html_type(char *type); #ifdef USE_M17N extern char **get_symbol(wc_ces charset, int *width); extern char **set_symbol(int width); |