aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.h
diff options
context:
space:
mode:
authorBrian Leung <leungbk@posteo.net>2022-04-03 01:37:28 -0700
committerBrian Leung <leungbk@posteo.net>2022-04-03 15:57:07 -0700
commit271bb32855853b011fceaf0ad2f829bce66b2a19 (patch)
treea13efbe2922f6d5beccee30631ffdfe5f38aa90a /src/nvim/buffer.h
parentd73bf3138a802bb6c1c654cd913d4e91932287f8 (diff)
downloadrneovim-271bb32855853b011fceaf0ad2f829bce66b2a19.tar.gz
rneovim-271bb32855853b011fceaf0ad2f829bce66b2a19.tar.bz2
rneovim-271bb32855853b011fceaf0ad2f829bce66b2a19.zip
vim-patch:8.2.4639: not sufficient parenthesis in preprocessor macros
Problem: Not sufficient parenthesis in preprocessor macros. Solution: Add more parenthesis. https://github.com/vim/vim/commit/9dac9b1751dd43c02470cc6a2aecaeea27abcc80
Diffstat (limited to 'src/nvim/buffer.h')
-rw-r--r--src/nvim/buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.h b/src/nvim/buffer.h
index 9e2ca999e4..850ab175a5 100644
--- a/src/nvim/buffer.h
+++ b/src/nvim/buffer.h
@@ -23,7 +23,7 @@ enum getf_retvalues {
GETFILE_ERROR = 1, // normal error
GETFILE_NOT_WRITTEN = 2, // "not written" error
GETFILE_SAME_FILE = 0, // success, same file
- GETFILE_OPEN_OTHER = -1, // success, opened another file
+ GETFILE_OPEN_OTHER = (-1), // success, opened another file
GETFILE_UNUSED = 8,
};