1
0
forked from aniani/vim

patch 9.0.0170: various minor code formatting issues

Problem:    Various minor code formatting issues.
Solution:   Improve code formatting.
This commit is contained in:
Bram Moolenaar 2022-08-08 15:49:18 +01:00
parent 48c3f4e0bf
commit 113d9dec99
7 changed files with 12 additions and 6 deletions

View File

@ -1501,7 +1501,8 @@ luaV_buffer_newindex(lua_State *L)
curbuf = buf;
luaL_error(L, "cannot replace line");
}
else changed_bytes(n, 0);
else
changed_bytes(n, 0);
curbuf = buf;
if (b == curwin->w_buffer)
check_cursor_col();

View File

@ -651,7 +651,8 @@ bufselfcmd(
err = TCL_ERROR;
}
}
else { // objc == 3
else
{ // objc == 3
line = (char *)ml_get_buf(buf, (linenr_T)val1, FALSE);
Tcl_SetResult(interp, line, TCL_VOLATILE);
}
@ -1090,7 +1091,8 @@ winselfcmd(
if (err != TCL_OK)
break;
}
else { // objc == 4
else
{ // objc == 4
err = tclgetlinenum(interp, objv[2], &val1, win->w_buffer);
if (err != TCL_OK)
break;

View File

@ -735,6 +735,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
170,
/**/
169,
/**/

View File

@ -2829,4 +2829,5 @@ long elapsed(DWORD start_tick);
#define FFED_NO_GLOBAL 2 // only check for script-local functions
#define MAX_LSHIFT_BITS (varnumber_T)((sizeof(uvarnumber_T) * 8) - 1)
#endif // VIM__H