aboutsummaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--ChangeLog7
-rw-r--r--file.c4
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 <katsuyuki_1.watanabe@toppan.co.jp>
+
+ * [w3m-dev 03110] Re: gopher broken
+ * file.c (loadGeneralFile): #ifdef USE_GOPHER
+
2002-03-11 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [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 <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) {