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 | |
| 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.
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | linein.c | 6 | 
2 files changed, 9 insertions, 4 deletions
| @@ -1,3 +1,8 @@ +2007-05-23  tamo + +	* [20070121110209@w3mbbs] unnecessary decoding in linein.c +	* linein.c: decoding URLs in correct condition. +  2007-05-23  Tsutomu OKADA  	* [20061228000713@w3mbbs] avoid warning for file.c @@ -8816,4 +8821,4 @@ a	* [w3m-dev 03276] compile error on EWS4800  	* release-0-2-1  	* import w3m-0.2.1 -$Id: ChangeLog,v 1.979 2007/05/23 12:01:43 inu Exp $ +$Id: ChangeLog,v 1.980 2007/05/23 12:14:24 inu Exp $ @@ -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);      } | 
