mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
Remove checks for SHORT_FNAME and USE_LONG_FNAME.
They were only defined for MSDOS which is now unsupported.
This commit is contained in:

committed by
Thiago de Arruda

parent
17d97e725a
commit
cb5acb705a
@@ -466,9 +466,7 @@ void buf_clear_file(buf_T *buf)
|
||||
{
|
||||
buf->b_ml.ml_line_count = 1;
|
||||
unchanged(buf, TRUE);
|
||||
#ifndef SHORT_FNAME
|
||||
buf->b_shortname = FALSE;
|
||||
#endif
|
||||
buf->b_p_eol = TRUE;
|
||||
buf->b_start_eol = TRUE;
|
||||
buf->b_p_bomb = FALSE;
|
||||
@@ -2273,9 +2271,6 @@ setfname (
|
||||
return FAIL;
|
||||
}
|
||||
#ifdef USE_FNAME_CASE
|
||||
# ifdef USE_LONG_FNAME
|
||||
if (USE_LONG_FNAME)
|
||||
# endif
|
||||
fname_case(sfname, 0); /* set correct case for short file name */
|
||||
#endif
|
||||
vim_free(buf->b_ffname);
|
||||
@@ -2294,9 +2289,7 @@ setfname (
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef SHORT_FNAME
|
||||
buf->b_shortname = FALSE;
|
||||
#endif
|
||||
|
||||
buf_name_changed(buf);
|
||||
return OK;
|
||||
|
Reference in New Issue
Block a user