aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-03-11 16:02:41 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-03-11 16:02:41 +0000
commit362498f587a862ec5601d616dd30372afe398c53 (patch)
tree9496122300d601582fc11f0a9861eb2e7ee9b1c0 /file.c
parent[w3m-dev 03106] Re: displayBuffer (diff)
downloadw3m-362498f587a862ec5601d616dd30372afe398c53.tar.gz
w3m-362498f587a862ec5601d616dd30372afe398c53.zip
[w3m-dev 03110] Re: gopher broken
* file.c (loadGeneralFile): #ifdef USE_GOPHER From: WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp>
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 3 insertions, 1 deletions
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 <sys/types.h>
#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) {