aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2016-03-28 15:33:25 +0000
committerTatsuya Kinoshita <tats@debian.org>2016-03-29 10:15:15 +0000
commit15b6fb04b9324cf313002a936183703e2736868e (patch)
tree9e65074020645c82e09c585cf3f614fd6ccbb59a /file.c
parentFix style of array index is used before limits check (diff)
downloadw3m-15b6fb04b9324cf313002a936183703e2736868e.tar.gz
w3m-15b6fb04b9324cf313002a936183703e2736868e.zip
Fix mistake of unescape spaces for _doFileCopy
cf. [w3m-dev-en 00751], [w3m-dev-en 00752] on 2002-06-09
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 9d1dc9a..e26f383 100644
--- a/file.c
+++ b/file.c
@@ -8160,7 +8160,7 @@ _doFileCopy(char *tmpf, char *defstr, int download)
else {
if (q) {
p = unescape_spaces(Strnew_charp(q))->ptr;
- p = conv_to_system(q);
+ p = conv_to_system(p);
}
p = expandPath(p);
if (checkOverWrite(p) < 0)