summaryrefslogtreecommitdiff
path: root/src/ex_getln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 832861907..19b623c39 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -2465,7 +2465,7 @@ draw_cmdline(start, len)
int j;
int newlen = 0;
int mb_l;
- int pc, pc1;
+ int pc, pc1 = 0;
int prev_c = 0;
int prev_c1 = 0;
int u8c;
@@ -3480,7 +3480,7 @@ ExpandEscape(xp, str, numfiles, files, options)
{
vim_free(files[i]);
files[i] = p;
-#if defined(BACKSLASH_IN_FILENAME) || defined(COLON_AS_PATHSEP)
+#if defined(BACKSLASH_IN_FILENAME)
p = vim_strsave_escaped(files[i], (char_u *)" ");
if (p != NULL)
{