summaryrefslogtreecommitdiff
path: root/src/move.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/move.c')
-rw-r--r--src/move.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/move.c b/src/move.c
index c4f21a786..3d6d2ec8f 100644
--- a/src/move.c
+++ b/src/move.c
@@ -210,7 +210,7 @@ update_topline(void)
/*
* If the buffer is empty, always set topline to 1.
*/
- if (bufempty()) /* special case - file is empty */
+ if (BUFEMPTY()) /* special case - file is empty */
{
if (curwin->w_topline != 1)
redraw_later(NOT_VALID);