aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/hardcopy.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-07-19 09:12:58 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2019-07-19 15:57:19 +0200
commitaa28e070e9f953c26405d765addd9f780ede2c5a (patch)
tree0f209d5c07812b2617a2ead59ae58cf564d62c35 /src/nvim/hardcopy.c
parent75928101f84526d92f3a38b175cdd71820526e49 (diff)
downloadrneovim-aa28e070e9f953c26405d765addd9f780ede2c5a.tar.gz
rneovim-aa28e070e9f953c26405d765addd9f780ede2c5a.tar.bz2
rneovim-aa28e070e9f953c26405d765addd9f780ede2c5a.zip
refactor: use int for Columns and Rows
Diffstat (limited to 'src/nvim/hardcopy.c')
-rw-r--r--src/nvim/hardcopy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/hardcopy.c b/src/nvim/hardcopy.c
index bf2ac35554..0001062588 100644
--- a/src/nvim/hardcopy.c
+++ b/src/nvim/hardcopy.c
@@ -582,9 +582,9 @@ static void prt_header(prt_settings_T *const psettings, const int pagenum,
*/
static void prt_message(char_u *s)
{
- grid_fill(&default_grid, (int)Rows - 1, (int)Rows, 0, (int)Columns, ' ', ' ',
- 0);
- grid_puts(&default_grid, s, (int)Rows - 1, 0, HL_ATTR(HLF_R));
+ // TODO(bfredl): delete this
+ grid_fill(&default_grid, Rows - 1, Rows, 0, Columns, ' ', ' ', 0);
+ grid_puts(&default_grid, s, Rows - 1, 0, HL_ATTR(HLF_R));
ui_flush();
}