summaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-11-26 20:45:13 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-11-26 20:45:13 +0000
commitf903cc9a56e5d6ede94512be19398fde3b7054b3 (patch)
tree620594edb9000dc17bd29deb63e2f0fcfb44c899 /screen.c
parent818df923debfcd9194314ee05e64cc62fbbb5458 (diff)
Rv EOL optimisation, it screws up selection.
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/screen.c b/screen.c
index 3ad9ee13..1d8144b7 100644
--- a/screen.c
+++ b/screen.c
@@ -1,4 +1,4 @@
-/* $Id: screen.c,v 1.47 2007-11-25 13:03:01 nicm Exp $ */
+/* $Id: screen.c,v 1.48 2007-11-26 20:45:13 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -455,18 +455,7 @@ screen_draw_column(struct screen_draw_ctx *ctx, u_int px)
void
screen_draw_line(struct screen_draw_ctx *ctx, u_int py)
{
- u_int cx, cy;
-
- cy = screen_y(ctx->s, py) - ctx->oy;
- cx = ctx->s->grid_size[cy];
-
- if (screen_size_x(ctx->s) < 3 || cx >= screen_size_x(ctx->s) - 3)
- screen_draw_cells(ctx, 0, py, screen_size_x(ctx->s));
- else {
- screen_draw_cells(ctx, 0, py, cx);
- screen_draw_move(ctx, cx, py);
- input_store_zero(ctx->b, CODE_CLEARENDOFLINE);
- }
+ screen_draw_cells(ctx, 0, py, screen_size_x(ctx->s));
}
/* Draw set of lines. */