Mercurial > vim
diff src/fileio.c @ 1431:d065616e0836 v7.1.146
updated for version 7.1-146
author | vimboss |
---|---|
date | Mon, 29 Oct 2007 21:38:54 +0000 |
parents | bac7c3fce150 |
children | c7654c4db8fd |
line wrap: on
line diff
--- a/src/fileio.c +++ b/src/fileio.c @@ -4251,7 +4251,8 @@ restore_backup: * they don't it adds one. * With other RMS structures it works perfect without this fix. */ - if ((buf->b_fab_rat & (FAB$M_FTN | FAB$M_CR)) != 0) + if (buf->b_fab_rfm == FAB$C_VFC + || ((buf->b_fab_rat & (FAB$M_FTN | FAB$M_CR)) != 0)) { int b2write;