From fc2f9b7d7b5c2c25e730896024f03bf828a2d8d5 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sat, 8 Jun 2002 23:33:04 +0000 Subject: 2002-06-09 Marcus Brinkmann * display.c (struct cursor): Change type of all members from int to u_int32_t. (screen_init): Initialize SCREEN->lines with 25 instead 200 for now. (screen_fill): Bring SCREEN->current_line into the calculation of MATRIXP. (screen_scroll_up): Likewise. (screen_scroll_down): Likewise. (screen_scroll_left): Likewise. (screen_scroll_right): Likewise. (display_output_one): Beautify code a bit. (display_read): Add metadata to beginning of file. * console.c (new_node): Increase size of display node to include metadata. --- console/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console/console.c') diff --git a/console/console.c b/console/console.c index 57e93de6..c0dbf4f5 100644 --- a/console/console.c +++ b/console/console.c @@ -288,7 +288,7 @@ new_node (struct node **np, vcons_t vcons, vcons_node_type type) (*np)->nn_stat.st_ino = (vcons->id << 2) + 2; (*np)->nn_stat.st_mode |= S_IFREG; (*np)->nn_stat.st_mode &= ~(S_IXUSR | S_IXGRP | S_IXOTH); - (*np)->nn_stat.st_size = 2000 * sizeof (wchar_t); /* XXX */ + (*np)->nn_stat.st_size = 2008 * sizeof (wchar_t); /* XXX */ break; case VCONS_NODE_INPUT: (*np)->nn_stat.st_ino = (vcons->id << 2) + 3; -- cgit v1.2.3