aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/undo.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-12-16 15:39:26 -0500
committerJustin M. Keyes <justinkz@gmail.com>2014-12-16 15:39:26 -0500
commit10a45846dc959f8b3ab9436f0809e90d1adf4ee4 (patch)
treeb0d02669f08f94b80abcc0a8d9687ba4c8c80561 /src/nvim/undo.c
parent3a61b84543c7cd843fe60d9ec4b356fb18f6a726 (diff)
parente0b23b3d090f58c772ff0175c38afa1d5e0f1612 (diff)
downloadrneovim-10a45846dc959f8b3ab9436f0809e90d1adf4ee4.tar.gz
rneovim-10a45846dc959f8b3ab9436f0809e90d1adf4ee4.tar.bz2
rneovim-10a45846dc959f8b3ab9436f0809e90d1adf4ee4.zip
Merge pull request #1688 from elmart/coverity-issues-1
coverity issues
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r--src/nvim/undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c
index 2ab31b6cfd..9a3da5bcdb 100644
--- a/src/nvim/undo.c
+++ b/src/nvim/undo.c
@@ -230,7 +230,7 @@ int u_save(linenr_T top, linenr_T bot)
if (top > curbuf->b_ml.ml_line_count
|| top >= bot
|| bot > curbuf->b_ml.ml_line_count + 1)
- return FALSE; /* rely on caller to do error messages */
+ return FAIL; /* rely on caller to do error messages */
if (top + 2 == bot)
u_saveline((linenr_T)(top + 1));