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:
Yegappan Lakshmanan
2025-05-14 20:31:55 +02:00
committed by Christian Brabandt
parent 08db2f4f28
commit e89aef3f65
29 changed files with 117 additions and 113 deletions

View File

@ -467,7 +467,8 @@ restore_dbg_stuff(struct dbg_stuff *dsp)
/*
* 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.
*
*/
@ -488,12 +489,13 @@ is_other_file(int fnum, char_u *ffname)
if (*ffname == NUL)
return FALSE;
// TODO: Need a reliable way to know whether a buffer is meant to live on-disk
// !curbuf->b_dev_valid is not always available (example: missing on Windows)
// TODO: Need a reliable way to know whether a buffer is meant to live
// on-disk !curbuf->b_dev_valid is not always available (example: missing
// on Windows)
if (curbuf->b_sfname != NULL
&& *curbuf->b_sfname != NUL)
// This occurs with unsaved buffers. In which case `ffname`
// actually corresponds to curbuf->b_sfname
// This occurs with unsaved buffers. In which case `ffname` actually
// corresponds to curbuf->b_sfname
return fnamecmp(ffname, curbuf->b_sfname) != 0;
return otherfile(ffname);

View File

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