summaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-10-29 21:38:54 +0000
committerBram Moolenaar <Bram@vim.org>2007-10-29 21:38:54 +0000
commitb52e260d2317524cd727ddc459ae4ef196906208 (patch)
tree1503f6eefc8e2d3503070b41775e2b4b2edfa458 /src/fileio.c
parent711d5b5c94d662e09a4fc90ac15f34e4529555c9 (diff)
updated for version 7.1-146v7.1.146
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 594daf335b..01663890a0 100644
--- 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;