summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/grid-view.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-07-09 00:29:33 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-07-09 00:29:33 +0000
commit1d8becc5e11743573fc573fb6fb35c727c93211a (patch)
tree1190ddf5efba7a9547a33b62721f3a620a73f15c /usr.bin/tmux/grid-view.c
parent24ac08a320a55c413a916af1aa9dfe4be7116d0c (diff)
Tidy by removing unused argument from grid_view_{insert,delete}_line_region
functions (currently don't fully work, this is to make fix easier).
Diffstat (limited to 'usr.bin/tmux/grid-view.c')
-rw-r--r--usr.bin/tmux/grid-view.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/usr.bin/tmux/grid-view.c b/usr.bin/tmux/grid-view.c
index 8e6c1dc0354..4475c9bffd9 100644
--- a/usr.bin/tmux/grid-view.c
+++ b/usr.bin/tmux/grid-view.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grid-view.c,v 1.3 2009/06/29 21:30:50 nicm Exp $ */
+/* $OpenBSD: grid-view.c,v 1.4 2009/07/09 00:29:32 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -132,11 +132,9 @@ grid_view_insert_lines(struct grid *gd, u_int py, u_int ny)
/* Insert lines in region. */
void
-grid_view_insert_lines_region(
- struct grid *gd, unused u_int rupper, u_int rlower, u_int py, u_int ny)
+grid_view_insert_lines_region(struct grid *gd, u_int rlower, u_int py, u_int ny)
{
- GRID_DEBUG(
- gd, "rupper=%u, rlower=%u, py=%u, ny=%u", rupper, rlower, py, ny);
+ GRID_DEBUG(gd, "rlower=%u, py=%u, ny=%u", rlower, py, ny);
rlower = grid_view_y(gd, rlower);
@@ -163,11 +161,9 @@ grid_view_delete_lines(struct grid *gd, u_int py, u_int ny)
/* Delete lines inside scroll region. */
void
-grid_view_delete_lines_region(
- struct grid *gd, unused u_int rupper, u_int rlower, u_int py, u_int ny)
+grid_view_delete_lines_region(struct grid *gd, u_int rlower, u_int py, u_int ny)
{
- GRID_DEBUG(
- gd, "rupper=%u, rlower=%u, py=%u, ny=%u", rupper, rlower, py, ny);
+ GRID_DEBUG(gd, "rlower=%u, py=%u, ny=%u", rlower, py, ny);
rlower = grid_view_y(gd, rlower);