diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-02-22 21:25:37 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-02-22 21:25:37 +0000 |
commit | d1f56e68f1315687ff5b913e2577f11b0b620573 (patch) | |
tree | adbac0a00c07ee933058543eb3f251a83e707624 /src/ops.c | |
parent | 238a564935abe36832b267f32b5487556c640d00 (diff) | |
download | vim-d1f56e68f1315687ff5b913e2577f11b0b620573.zip |
updated for version 7.0204
Diffstat (limited to 'src/ops.c')
-rw-r--r-- | src/ops.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; /* |