diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-07-03 16:05:59 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-07-03 16:05:59 +0000 |
commit | 592e0a2a1dbc542134c3fd88b4cdfa40e258f41b (patch) | |
tree | 40969df9b211be9ffd5523f7a9cc70e445cac973 /src/memline.c | |
parent | cfbc5ee48e1b582f418f2d92ccbc4c4e84c803e1 (diff) | |
download | vim-git-592e0a2a1dbc542134c3fd88b4cdfa40e258f41b.tar.gz |
updated for version 7.0005
Diffstat (limited to 'src/memline.c')
-rw-r--r-- | src/memline.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/memline.c b/src/memline.c index 7a0210f1a..176705392 100644 --- a/src/memline.c +++ b/src/memline.c @@ -257,6 +257,9 @@ ml_open() curbuf->b_ml.ml_mfp = mfp; curbuf->b_ml.ml_flags = ML_EMPTY; curbuf->b_ml.ml_line_count = 1; +#ifdef FEAT_LINEBREAK + curwin->w_nrwidth_line_count = 0; +#endif #if defined(MSDOS) && !defined(DJGPP) /* for 16 bit MS-DOS create a swapfile now, because we run out of |