From 362498f587a862ec5601d616dd30372afe398c53 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Mon, 11 Mar 2002 16:02:41 +0000 Subject: [w3m-dev 03110] Re: gopher broken * file.c (loadGeneralFile): #ifdef USE_GOPHER From: WATANABE Katsuyuki --- ChangeLog | 7 ++++++- file.c | 4 +++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1e422d1..aa34880 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-03-11 WATANABE Katsuyuki + + * [w3m-dev 03110] Re: gopher broken + * file.c (loadGeneralFile): #ifdef USE_GOPHER + 2002-03-11 Hironori Sakamoto * [w3m-dev 03106] Re: displayBuffer @@ -3113,4 +3118,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.342 2002/03/10 15:55:15 ukai Exp $ +$Id: ChangeLog,v 1.343 2002/03/11 16:02:41 ukai Exp $ diff --git a/file.c b/file.c index 2e9875b..6e91c7c 100644 --- a/file.c +++ b/file.c @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.80 2002/03/10 15:55:15 ukai Exp $ */ +/* $Id: file.c,v 1.81 2002/03/11 16:02:42 ukai Exp $ */ #include "fm.h" #include #include "myctype.h" @@ -1922,8 +1922,10 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer, else if (proc == loadImageBuffer) b->type = b->real_type; #endif +#ifdef USE_GOPHER else if (proc == loadGopherDir) b->type = b->real_type; +#endif else b->type = "text/plain"; if (pu.label) { -- cgit v1.2.3