Sync OpenBSD patchset 285:

Ugh, committed the wrong version of this change and got both solutions rather
than just the second. Remove unused assignment.
pull/1/head
Tiago Cunha 2009-08-21 21:13:20 +00:00
parent d07d18258b
commit 1fa8a8f4a6
1 changed files with 1 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $Id: screen-write.c,v 1.69 2009-08-21 21:09:13 tcunha Exp $ */
/* $Id: screen-write.c,v 1.70 2009-08-21 21:13:20 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -858,9 +858,6 @@ screen_write_overwrite(struct screen_write_ctx *ctx)
u_int xx;
gc = grid_view_peek_cell(gd, s->cx, s->cy);
if (gc->flags & GRID_FLAG_UTF8)
gu = grid_view_peek_utf8(gd, s->cx, s->cy);
if (gc->flags & GRID_FLAG_PADDING) {
/*
* A padding cell, so clear any following and leading padding