patch-2.2.18 linux/drivers/char/console.c
Next file: linux/drivers/char/cpia.c
Previous file: linux/drivers/char/c-qcam.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Wed Nov 8 23:03:17 2000
- Orig file:
v2.2.17/drivers/char/console.c
- Orig date:
Sat Sep 9 18:42:34 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/char/console.c linux/drivers/char/console.c
@@ -575,10 +575,12 @@
}
if (redraw) {
+ int update;
+
set_origin(currcons);
+ update = sw->con_switch(vc_cons[currcons].d);
set_palette(currcons);
- if (sw->con_switch(vc_cons[currcons].d) && vcmode != KD_GRAPHICS)
- /* Update the screen contents */
+ if (update && vcmode != KD_GRAPHICS)
do_update_region(currcons, origin, screenbuf_size/2);
}
set_cursor(currcons);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)