aboutsummaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
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;