mirror of
https://github.com/neovim/neovim.git
synced 2024-12-21 11:45:01 -07:00
memline: fnamecmp_ino() returns bool
This commit is contained in:
parent
e36fce75fb
commit
fc8965787b
@ -3532,10 +3532,9 @@ static int b0_magic_wrong(ZERO_BL *b0p)
|
||||
* without making the block 0 incompatible with 32 bit versions.
|
||||
*/
|
||||
|
||||
static int
|
||||
fnamecmp_ino (
|
||||
char_u *fname_c, /* current file name */
|
||||
char_u *fname_s, /* file name from swap file */
|
||||
static bool fnamecmp_ino(
|
||||
char_u *fname_c, // current file name
|
||||
char_u *fname_s, // file name from swap file
|
||||
long ino_block0
|
||||
)
|
||||
{
|
||||
@ -3582,7 +3581,7 @@ fnamecmp_ino (
|
||||
if (ino_s == 0 && ino_c == 0 && retval_c == FAIL && retval_s == FAIL) {
|
||||
return STRCMP(fname_c, fname_s) != 0;
|
||||
}
|
||||
return TRUE;
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user