mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00: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:
@@ -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));
|
||||
|
Reference in New Issue
Block a user