Mercurial > vim
comparison src/ex_getln.c @ 12529:158917d728b4 v8.0.1143
patch 8.0.1143: macros always expand to the same thing
commit https://github.com/vim/vim/commit/e0de17d84e1612dbc9362989194de5674f221de5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 24 16:24:34 2017 +0200
patch 8.0.1143: macros always expand to the same thing
Problem: Macros always expand to the same thing.
Solution: Remove W_VSEP_WIDTH() and W_STATUS_HEIGHT().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 24 Sep 2017 16:30:04 +0200 |
parents | 68d7bc045dbe |
children | 0a9dacb8826a |
comparison
equal
deleted
inserted
replaced
12528:608ee63b6014 | 12529:158917d728b4 |
---|---|
3436 { | 3436 { |
3437 if (exmode_active || msg_scrolled != 0) | 3437 if (exmode_active || msg_scrolled != 0) |
3438 cmdline_row = Rows - 1; | 3438 cmdline_row = Rows - 1; |
3439 else | 3439 else |
3440 cmdline_row = W_WINROW(lastwin) + lastwin->w_height | 3440 cmdline_row = W_WINROW(lastwin) + lastwin->w_height |
3441 + W_STATUS_HEIGHT(lastwin); | 3441 + lastwin->w_status_height; |
3442 } | 3442 } |
3443 | 3443 |
3444 static void | 3444 static void |
3445 cursorcmd(void) | 3445 cursorcmd(void) |
3446 { | 3446 { |