aboutsummaryrefslogtreecommitdiffstats
path: root/etc.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-03-13 17:47:45 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-03-13 17:47:45 +0000
commit7af7c95614f207be3563c3afe412f156b56cd0ac (patch)
tree7783c5eb43f997f96afc5c099af56c3edfcd5d91 /etc.c
parent[w3m-dev 03822] Re: etc.c: treatment for "%7E" is added to expandName() (diff)
downloadw3m-7af7c95614f207be3563c3afe412f156b56cd0ac.tar.gz
w3m-7af7c95614f207be3563c3afe412f156b56cd0ac.zip
[w3m-dev 03823] Re: etc.c: treatment for "%7E" is added to expandName()
* url.c (parseURL2): file unquote * etc.c (expandName): revert previous changes From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--etc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc.c b/etc.c
index ce95a42..d3fed39 100644
--- a/etc.c
+++ b/etc.c
@@ -1,4 +1,4 @@
-/* $Id: etc.c,v 1.69 2003/03/13 15:40:47 ukai Exp $ */
+/* $Id: etc.c,v 1.70 2003/03/13 17:47:49 ukai Exp $ */
#include "fm.h"
#include <pwd.h>
#include "myctype.h"
@@ -1552,8 +1552,7 @@ expandName(char *name)
return NULL;
p = name;
if (*p == '/') {
- if (((*(p + 1) == '~' && IS_ALPHA(*(p + 2)))
- || (strncasecmp(p + 1, "%7e", 3) == 0))
+ if ((*(p + 1) == '~' && IS_ALPHA(*(p + 2)))
&& personal_document_root) {
char *q;
p += 2;