aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-09-29 16:59:47 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-09-29 16:59:47 +0000
commitc2a5ffa6a4dd8916734d21a1e8929b32dec84619 (patch)
treeaba877703f3000677dda5bc47529b266b699dc88
parent9d6827ebb22b34e0ecf20c483a81a09ad814a5ca (diff)
downloadrtmux-c2a5ffa6a4dd8916734d21a1e8929b32dec84619.tar.gz
rtmux-c2a5ffa6a4dd8916734d21a1e8929b32dec84619.tar.bz2
rtmux-c2a5ffa6a4dd8916734d21a1e8929b32dec84619.zip
Shut gcc up.
-rw-r--r--screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/screen.c b/screen.c
index 9f135e25..4b8329cd 100644
--- a/screen.c
+++ b/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>
@@ -108,6 +108,7 @@ screen_resize_x(struct screen *s, u_int sx)
* If the character after the last is wide or padding, remove
* it and any leading padding.
*/
+ gc = &grid_default_cell;
for (xx = sx; xx > 0; xx--) {
gc = grid_peek_cell(gd, xx - 1, yy);
if (!(gc->flags & GRID_FLAG_PADDING))