patch-2.1.112 linux/drivers/char/selection.c
Next file: linux/drivers/char/sysrq.c
Previous file: linux/drivers/char/msp3400.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Jul 26 14:40:18 1998
-  Orig file: 
v2.1.111/linux/drivers/char/selection.c
-  Orig date: 
Sun Jul 26 11:57:15 1998
diff -u --recursive --new-file v2.1.111/linux/drivers/char/selection.c linux/drivers/char/selection.c
@@ -60,7 +60,7 @@
 static unsigned char
 sel_pos(int n)
 {
-	return inverse_translate(screen_glyph(sel_cons, n));
+	return inverse_translate(vc_cons[sel_cons].d, screen_glyph(sel_cons, n));
 }
 
 /* remove the current selection highlight, if any,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov