From cb5acb705aadb1bf3d240c1d3ad296bfc07789c8 Mon Sep 17 00:00:00 2001 From: Chris Watkins Date: Wed, 23 Apr 2014 21:58:08 -0700 Subject: Remove checks for SHORT_FNAME and USE_LONG_FNAME. They were only defined for MSDOS which is now unsupported. --- src/buffer.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/buffer.c') 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; -- cgit