aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 8b47d090d4..4442e7bba6 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -6448,11 +6448,6 @@ int screen_ins_lines (
int j;
unsigned temp;
- // FAIL if
- // - there is no valid screen
- // - the screen has to be redrawn completely
- // - the line count is less than one
- // - the line count is more than 'ttyscroll'
if (!screen_valid(TRUE) || line_count <= 0) {
return FAIL;
}
@@ -6507,11 +6502,6 @@ int screen_del_lines (
int i;
unsigned temp;
- // FAIL if
- // - there is no valid screen
- // - the screen has to be redrawn completely
- // - the line count is less than one
- // - the line count is more than 'ttyscroll'
if (!screen_valid(TRUE) || line_count <= 0) {
return FAIL;
}