aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/drawscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/drawscreen.c')
-rw-r--r--src/nvim/drawscreen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/drawscreen.c b/src/nvim/drawscreen.c
index 98077364a0..ca70c1f4ef 100644
--- a/src/nvim/drawscreen.c
+++ b/src/nvim/drawscreen.c
@@ -738,9 +738,8 @@ int win_get_bordertext_col(int total_col, int text_width, AlignTextPos align)
return (total_col - text_width) / 2 + 1;
case kAlignRight:
return total_col - text_width + 1;
- default:
- abort();
}
+ UNREACHABLE;
}
static void win_redr_border(win_T *wp)