aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/undo.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/undo.c
parent0dd1ad0760ecdbfeef94da4ef33d71e66eab35b3 (diff)
downloadrneovim-357583ff8ca4aaaeef656a5c4856ee23b0d7e98e.tar.gz
rneovim-357583ff8ca4aaaeef656a5c4856ee23b0d7e98e.tar.bz2
rneovim-357583ff8ca4aaaeef656a5c4856ee23b0d7e98e.zip
Macro cleanup: HAVE_SANDBOX
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r--src/nvim/undo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c
index 4d84c69158..2c287e0fdf 100644
--- a/src/nvim/undo.c
+++ b/src/nvim/undo.c
@@ -295,13 +295,11 @@ int undo_allowed(void)
return FALSE;
}
-#ifdef HAVE_SANDBOX
- /* In the sandbox it's not allowed to change the text. */
+ // In the sandbox it's not allowed to change the text.
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. */