diff options
author | Chris Watkins <chris.watkins88@gmail.com> | 2014-04-23 21:58:08 -0700 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-05-02 15:58:33 -0300 |
commit | cb5acb705aadb1bf3d240c1d3ad296bfc07789c8 (patch) | |
tree | 112a75f29ebd8a18323a80cc23dc1a5af01126f1 /src/option.c | |
parent | 17d97e725a9eaeba2c8bb58399603ea0b0662570 (diff) | |
download | rneovim-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/option.c')
-rw-r--r-- | src/option.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/option.c b/src/option.c index 210a747022..94e81b1441 100644 --- a/src/option.c +++ b/src/option.c @@ -150,9 +150,7 @@ # define PV_QE OPT_BUF(BV_QE) #define PV_RO OPT_BUF(BV_RO) # define PV_SI OPT_BUF(BV_SI) -#ifndef SHORT_FNAME # define PV_SN OPT_BUF(BV_SN) -#endif # define PV_SMC OPT_BUF(BV_SMC) # define PV_SYN OPT_BUF(BV_SYN) # define PV_SPC OPT_BUF(BV_SPC) @@ -265,9 +263,7 @@ static int p_pi; static char_u *p_qe; static int p_ro; static int p_si; -#ifndef SHORT_FNAME static int p_sn; -#endif static long p_sts; static char_u *p_sua; static long p_sw; @@ -1419,11 +1415,7 @@ static struct vimoption {(char_u *)"", (char_u *)"filnxtToO"} SCRIPTID_INIT}, {"shortname", "sn", P_BOOL|P_VI_DEF, -#ifdef SHORT_FNAME - (char_u *)NULL, PV_NONE, -#else (char_u *)&p_sn, PV_SN, -#endif {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, {"showbreak", "sbr", P_STRING|P_VI_DEF|P_RALL, (char_u *)&p_sbr, PV_NONE, @@ -6785,9 +6777,7 @@ static char_u *get_varp(struct vimoption *p) case PV_QE: return (char_u *)&(curbuf->b_p_qe); case PV_RO: return (char_u *)&(curbuf->b_p_ro); case PV_SI: return (char_u *)&(curbuf->b_p_si); -#ifndef SHORT_FNAME case PV_SN: return (char_u *)&(curbuf->b_p_sn); -#endif case PV_STS: return (char_u *)&(curbuf->b_p_sts); case PV_SUA: return (char_u *)&(curbuf->b_p_sua); case PV_SWF: return (char_u *)&(curbuf->b_p_swf); @@ -7013,9 +7003,7 @@ void buf_copy_options(buf_T *buf, int flags) buf->b_p_ofu = vim_strsave(p_ofu); buf->b_p_sts = p_sts; buf->b_p_sts_nopaste = p_sts_nopaste; -#ifndef SHORT_FNAME buf->b_p_sn = p_sn; -#endif buf->b_p_com = vim_strsave(p_com); buf->b_p_cms = vim_strsave(p_cms); buf->b_p_fo = vim_strsave(p_fo); |