From: Aivils S. <ai...@us...> - 2003-11-13 07:17:39
|
Update of /cvsroot/linuxconsole/ruby/ruby-2.6/drivers/char In directory sc8-pr-cvs1:/tmp/cvs-serv13301/ruby-2.6/drivers/char Modified Files: vt.c Log Message: vc_resize after visual_init only! Yes, master Index: vt.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/ruby-2.6/drivers/char/vt.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- vt.c 28 Oct 2003 07:14:53 -0000 1.9 +++ vt.c 13 Nov 2003 07:17:35 -0000 1.10 @@ -1890,11 +1890,11 @@ if (vc) { old_was_color = vc->vc_can_do_color; cons_num = vt->first_vc + i; - vc_resize(vc, vt->default_mode->vc_cols, - vt->default_mode->vc_rows); visual_init(vc, 0); update_attr(vc); - + vc_resize(vc, vt->default_mode->vc_cols, + vt->default_mode->vc_rows); + /* If the console changed between mono <-> color, then * the attributes in the screenbuf will be wrong. The * following resets all attributes to something sane. |