mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
patch 9.1.1390: style: more wrong indentation
Problem: style: more wrong indentation Solution: reformat a few more places (Yegappan Lakshmanan) closes: #17309 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
08db2f4f28
commit
e89aef3f65
@ -467,7 +467,8 @@ restore_dbg_stuff(struct dbg_stuff *dsp)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Check if ffname differs from fnum.
|
* Check if ffname differs from fnum.
|
||||||
* fnum is a buffer number. 0 == current buffer, 1-or-more must be a valid buffer ID.
|
* fnum is a buffer number. 0 == current buffer, 1-or-more must be a valid
|
||||||
|
* buffer ID.
|
||||||
* ffname is a full path to where a buffer lives on-disk or would live on-disk.
|
* ffname is a full path to where a buffer lives on-disk or would live on-disk.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@ -488,12 +489,13 @@ is_other_file(int fnum, char_u *ffname)
|
|||||||
if (*ffname == NUL)
|
if (*ffname == NUL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
// TODO: Need a reliable way to know whether a buffer is meant to live on-disk
|
// TODO: Need a reliable way to know whether a buffer is meant to live
|
||||||
// !curbuf->b_dev_valid is not always available (example: missing on Windows)
|
// on-disk !curbuf->b_dev_valid is not always available (example: missing
|
||||||
|
// on Windows)
|
||||||
if (curbuf->b_sfname != NULL
|
if (curbuf->b_sfname != NULL
|
||||||
&& *curbuf->b_sfname != NUL)
|
&& *curbuf->b_sfname != NUL)
|
||||||
// This occurs with unsaved buffers. In which case `ffname`
|
// This occurs with unsaved buffers. In which case `ffname` actually
|
||||||
// actually corresponds to curbuf->b_sfname
|
// corresponds to curbuf->b_sfname
|
||||||
return fnamecmp(ffname, curbuf->b_sfname) != 0;
|
return fnamecmp(ffname, curbuf->b_sfname) != 0;
|
||||||
|
|
||||||
return otherfile(ffname);
|
return otherfile(ffname);
|
||||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1390,
|
||||||
/**/
|
/**/
|
||||||
1389,
|
1389,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user