mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Passing-by: Fix FALSE/FAIL confusion.
FALSE was being used instead of FAIL. They happen to have the same value, so it works the same. But from function comment it's clear it uses the OK/FAIL convention.
This commit is contained in:
parent
a97f9e9594
commit
85ee4b83ac
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user