diff options
author | Dai Sato <satodai@w3m.jp> | 2007-05-23 12:14:24 +0000 |
---|---|---|
committer | Dai Sato <satodai@w3m.jp> | 2007-05-23 12:14:24 +0000 |
commit | bdeafaadf120e7b887a6a762eef2f17d9f48d348 (patch) | |
tree | 99bdc530a54e874c4dc35b9bc72f09ebcc2f8c67 /linein.c | |
parent | change char to unsigned char for HTML_DL_COMPACT(133). (diff) | |
download | w3m-bdeafaadf120e7b887a6a762eef2f17d9f48d348.tar.gz w3m-bdeafaadf120e7b887a6a762eef2f17d9f48d348.zip |
decoding URLs in correct condition.
Diffstat (limited to 'linein.c')
-rw-r--r-- | linein.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: linein.c,v 1.34 2003/09/26 17:59:51 ukai Exp $ */ +/* $Id: linein.c,v 1.35 2007/05/23 12:14:24 inu Exp $ */ #include "fm.h" #include "local.h" #include "myctype.h" @@ -1025,7 +1025,7 @@ _prev(void) return; strCurrentBuf = strBuf; } - if (DecodeURL) + if (DecodeURL && (cm_mode & CPL_URL) ) p = url_unquote_conv(p, 0); strBuf = Strnew_charp(p); CLen = CPos = setStrType(strBuf, strProp); @@ -1044,7 +1044,7 @@ _next(void) return; p = nextHist(hist); if (p) { - if (DecodeURL) + if (DecodeURL && (cm_mode & CPL_URL) ) p = url_unquote_conv(p, 0); strBuf = Strnew_charp(p); } |