0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.0.1758: open_line() returns TRUE/FALSE for success/failure

Problem:    open_line() returns TRUE/FALSE for success/failure.
Solution:   Return OK or FAIL.
This commit is contained in:
Bram Moolenaar
2018-04-24 19:36:43 +02:00
parent b691de05f6
commit 24a2d7264f
4 changed files with 9 additions and 7 deletions

View File

@@ -8491,7 +8491,7 @@ n_opencmd(cmdarg_T *cap)
#ifdef FEAT_COMMENTS
has_format_option(FO_OPEN_COMS) ? OPENLINE_DO_COM :
#endif
0, 0))
0, 0) == OK)
{
#ifdef FEAT_CONCEAL
if (curwin->w_p_cole > 0 && oldline != curwin->w_cursor.lnum)