aboutsummaryrefslogtreecommitdiff
path: root/src/uicmd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/uicmd.cc')
-rw-r--r--src/uicmd.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc
index 2d4134d1..0a1510d2 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -848,8 +848,8 @@ static char *UIcmd_make_save_filename(const DilloUrl *url)
dFree(free2);
/* Replace %20 and ' ' with '_' */
- for (n1 = n2 = name; *n1; n1++) {
- *n2++ =
+ for (n1 = n2 = name; *n1; n1++, n2++) {
+ *n2 =
(n1[0] == ' ')
? '_' :
(n1[0] == '%' && n1[1] == '2' && n1[2] == '0')