aboutsummaryrefslogtreecommitdiff
path: root/grid-view.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-12-04 22:14:47 +0000
committerTiago Cunha <tcunha@gmx.com>2009-12-04 22:14:47 +0000
commitcc094fdfe6276b93683113f395edbc004837d362 (patch)
treec685b2f63461b2026d0677c4b8974e3004e114ff /grid-view.c
parent1caa73afb4da381425160cbff68284a4dab1470b (diff)
downloadrtmux-cc094fdfe6276b93683113f395edbc004837d362.tar.gz
rtmux-cc094fdfe6276b93683113f395edbc004837d362.tar.bz2
rtmux-cc094fdfe6276b93683113f395edbc004837d362.zip
Sync OpenBSD patchset 581:
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last time now I've configured emacs to make them displayed in really annoying colours...
Diffstat (limited to 'grid-view.c')
-rw-r--r--grid-view.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/grid-view.c b/grid-view.c
index 1a04f157..98624e10 100644
--- a/grid-view.c
+++ b/grid-view.c
@@ -1,4 +1,4 @@
-/* $Id: grid-view.c,v 1.19 2009-10-15 01:55:12 tcunha Exp $ */
+/* $Id: grid-view.c,v 1.20 2009-12-04 22:14:47 tcunha Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -149,7 +149,7 @@ grid_view_insert_lines_region(struct grid *gd, u_int rlower, u_int py, u_int ny)
ny2 = rlower + 1 - py - ny;
grid_move_lines(gd, rlower + 1 - ny2, py, ny2);
- grid_clear(gd, 0, py + ny2, gd->sx, ny - ny2);
+ grid_clear(gd, 0, py + ny2, gd->sx, ny - ny2);
}
/* Delete lines. */
@@ -165,7 +165,7 @@ grid_view_delete_lines(struct grid *gd, u_int py, u_int ny)
sy = grid_view_y(gd, gd->sy);
grid_move_lines(gd, py, py + ny, sy - py - ny);
- grid_clear(gd, 0, sy - ny, gd->sx, py + ny - (sy - ny));
+ grid_clear(gd, 0, sy - ny, gd->sx, py + ny - (sy - ny));
}
/* Delete lines inside scroll region. */
@@ -182,7 +182,7 @@ grid_view_delete_lines_region(struct grid *gd, u_int rlower, u_int py, u_int ny)
ny2 = rlower + 1 - py - ny;
grid_move_lines(gd, py, py + ny, ny2);
- grid_clear(gd, 0, py + ny2, gd->sx, ny - ny2);
+ grid_clear(gd, 0, py + ny2, gd->sx, ny - ny2);
}
/* Insert characters. */