aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.c
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-02-03 20:07:00 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-03-05 19:03:34 -0500
commit357583ff8ca4aaaeef656a5c4856ee23b0d7e98e (patch)
tree3185d4019840390d64773657643f236af6a74e73 /src/nvim/edit.c
parent0dd1ad0760ecdbfeef94da4ef33d71e66eab35b3 (diff)
downloadrneovim-357583ff8ca4aaaeef656a5c4856ee23b0d7e98e.tar.gz
rneovim-357583ff8ca4aaaeef656a5c4856ee23b0d7e98e.tar.bz2
rneovim-357583ff8ca4aaaeef656a5c4856ee23b0d7e98e.zip
Macro cleanup: HAVE_SANDBOX
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r--src/nvim/edit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index c0bd8cc8fd..fcbbc8ab7f 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -268,13 +268,11 @@ edit (
// set Insstart_orig to Insstart
update_Insstart_orig = true;
-#ifdef HAVE_SANDBOX
- /* Don't allow inserting in the sandbox. */
+ // Don't allow inserting in the sandbox.
if (sandbox != 0) {
EMSG(_(e_sandbox));
return FALSE;
}
-#endif
/* Don't allow changes in the buffer while editing the cmdline. The
* caller of getcmdline() may get confused. */
if (textlock != 0) {