commit | f740b29ae2a346e44c34001b3bf8ecfa0c7857bd | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Feb 16 22:11:02 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Feb 16 22:11:02 2006 +0000 |
tree | 5b62807af1359d3df97367448927cdbb53969448 | |
parent | 4c7ed462cb7813730b4f15f9cb09f1b26d097fca [diff] [blame] |
updated for version 7.0199
diff --git a/src/eval.c b/src/eval.c index 6ec0975..d29f1a4 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -15509,11 +15509,13 @@ pos.col = 0; if (name[1] == '0') /* "w0": first visible line */ { + update_topline(); pos.lnum = curwin->w_topline; return &pos; } else if (name[1] == '$') /* "w$": last visible line */ { + validate_botline(); pos.lnum = curwin->w_botline - 1; return &pos; }