summaryrefslogtreecommitdiff
path: root/src/ops.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-22 21:25:37 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-22 21:25:37 +0000
commitd1f56e68f1315687ff5b913e2577f11b0b620573 (patch)
treeadbac0a00c07ee933058543eb3f251a83e707624 /src/ops.c
parent238a564935abe36832b267f32b5487556c640d00 (diff)
downloadvim-d1f56e68f1315687ff5b913e2577f11b0b620573.zip
updated for version 7.0204
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ops.c b/src/ops.c
index a48b6be64..c9a4dd2a7 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -1439,7 +1439,7 @@ get_spec_reg(regname, argp, allocated, errmsg)
if (!errmsg)
return FALSE;
*argp = file_name_at_cursor(FNAME_MESS | FNAME_HYP
- | (regname == Ctrl_P ? FNAME_EXP : 0), 1L);
+ | (regname == Ctrl_P ? FNAME_EXP : 0), 1L, NULL);
*allocated = TRUE;
return TRUE;
#endif
@@ -4334,7 +4334,8 @@ fex_format(lnum, count)
linenr_T lnum;
long count;
{
- int use_sandbox = was_set_insecurely((char_u *)"formatexpr");
+ int use_sandbox = was_set_insecurely((char_u *)"formatexpr",
+ OPT_LOCAL);
int r;
/*