diff options
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r-- | src/nvim/undo.c | 4 |
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. */ |