diff src/normal.c @ 13772:cc21507ee4b1 v8.0.1758

patch 8.0.1758: open_line() returns TRUE/FALSE for success/failure commit https://github.com/vim/vim/commit/24a2d7264fc2394f69a9a890b34d1f09cf63b14e Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 24 19:36:43 2018 +0200 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.
author Christian Brabandt <cb@256bit.org>
date Tue, 24 Apr 2018 19:45:07 +0200
parents 9de2b25932eb
children 156ebdcb8ef5
line wrap: on
line diff
--- 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)