commit | 24a2d7264fc2394f69a9a890b34d1f09cf63b14e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Apr 24 19:36:43 2018 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Apr 24 19:36:43 2018 +0200 |
tree | 019cd2bc57bd90b9e1a29f62d86c7f6843c1909c | |
parent | b691de05f69905fe417f583083d7e3cc16eb865e [diff] [blame] |
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.
diff --git a/src/normal.c b/src/normal.c index 84867b5..be0e75e 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -8491,7 +8491,7 @@ #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)