From 357583ff8ca4aaaeef656a5c4856ee23b0d7e98e Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Tue, 3 Feb 2015 20:07:00 -0500 Subject: Macro cleanup: HAVE_SANDBOX --- src/nvim/undo.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/nvim/undo.c') 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. */ -- cgit