aboutsummaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorChris Watkins <chris.watkins88@gmail.com>2014-04-23 21:58:08 -0700
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-02 15:58:33 -0300
commitcb5acb705aadb1bf3d240c1d3ad296bfc07789c8 (patch)
tree112a75f29ebd8a18323a80cc23dc1a5af01126f1 /src/buffer.c
parent17d97e725a9eaeba2c8bb58399603ea0b0662570 (diff)
downloadrneovim-cb5acb705aadb1bf3d240c1d3ad296bfc07789c8.tar.gz
rneovim-cb5acb705aadb1bf3d240c1d3ad296bfc07789c8.tar.bz2
rneovim-cb5acb705aadb1bf3d240c1d3ad296bfc07789c8.zip
Remove checks for SHORT_FNAME and USE_LONG_FNAME.
They were only defined for MSDOS which is now unsupported.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 04c331fc8b..f672938077 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -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;