diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-12-04 22:14:47 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-12-04 22:14:47 +0000 |
commit | cc094fdfe6276b93683113f395edbc004837d362 (patch) | |
tree | c685b2f63461b2026d0677c4b8974e3004e114ff /screen.c | |
parent | 1caa73afb4da381425160cbff68284a4dab1470b (diff) | |
download | rtmux-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 'screen.c')
-rw-r--r-- | screen.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: screen.c,v 1.96 2009-08-09 17:28:23 tcunha Exp $ */ +/* $Id: screen.c,v 1.97 2009-12-04 22:14:47 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -50,7 +50,7 @@ screen_reinit(struct screen *s) s->rlower = screen_size_y(s) - 1; s->mode = MODE_CURSOR; - + screen_reset_tabs(s); grid_clear_lines(s->grid, s->grid->hsize, s->grid->sy); @@ -151,12 +151,12 @@ screen_resize_y(struct screen *s, u_int sy) fatalx("zero size"); oldy = screen_size_y(s); - /* + /* * When resizing: * * If the height is decreasing, delete lines from the bottom until * hitting the cursor, then push lines from the top into the history. - * + * * When increasing, pull as many lines as possible from the history to * the top, then fill the remaining with blanks at the bottom. */ @@ -190,7 +190,7 @@ screen_resize_y(struct screen *s, u_int sy) grid_view_delete_lines(gd, 0, available); } s->cy -= needed; - } + } /* Resize line arrays. */ gd->linedata = xrealloc( |