summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-24 19:36:43 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-24 19:36:43 +0200
commit24a2d7264fc2394f69a9a890b34d1f09cf63b14e (patch)
tree019cd2bc57bd90b9e1a29f62d86c7f6843c1909c /src/normal.c
parentb691de05f69905fe417f583083d7e3cc16eb865e (diff)
downloadvim-git-24a2d7264fc2394f69a9a890b34d1f09cf63b14e.tar.gz
patch 8.0.1758: open_line() returns TRUE/FALSE for success/failurev8.0.1758
Problem: open_line() returns TRUE/FALSE for success/failure. Solution: Return OK or FAIL.
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 84867b52f..be0e75e7e 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -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)