mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Shut gcc up.
This commit is contained in:
parent
9d6827ebb2
commit
c2a5ffa6a4
3
screen.c
3
screen.c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: screen.c,v 1.74 2008-09-29 16:58:02 nicm Exp $ */
|
/* $Id: screen.c,v 1.75 2008-09-29 16:59:47 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -108,6 +108,7 @@ screen_resize_x(struct screen *s, u_int sx)
|
|||||||
* If the character after the last is wide or padding, remove
|
* If the character after the last is wide or padding, remove
|
||||||
* it and any leading padding.
|
* it and any leading padding.
|
||||||
*/
|
*/
|
||||||
|
gc = &grid_default_cell;
|
||||||
for (xx = sx; xx > 0; xx--) {
|
for (xx = sx; xx > 0; xx--) {
|
||||||
gc = grid_peek_cell(gd, xx - 1, yy);
|
gc = grid_peek_cell(gd, xx - 1, yy);
|
||||||
if (!(gc->flags & GRID_FLAG_PADDING))
|
if (!(gc->flags & GRID_FLAG_PADDING))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user