patch-1.3.30 linux/drivers/char/vt.c
Next file: linux/drivers/char/vt_kern.h
Previous file: linux/drivers/char/random.c
Back to the patch index
Back to the overall index
-  Lines: 21
 -  Date:
Wed Sep 27 12:39:41 1995
 -  Orig file: 
v1.3.29/linux/drivers/char/vt.c
 -  Orig date: 
Mon Sep 18 14:53:54 1995
 
diff -u --recursive --new-file v1.3.29/linux/drivers/char/vt.c linux/drivers/char/vt.c
@@ -985,6 +985,12 @@
 		if (vt_cons[fg_console]->vc_mode != KD_TEXT)
 			return -EINVAL;
 
+#ifdef BROKEN_GRAPHICS_PROGRAMS
+		/* With BROKEN_GRAPHICS_PROGRAMS defined, the default
+		   font is not saved. */
+		return -ENOSYS;
+#else
+
 		i = con_set_font(NULL, 0);	/* Set font to default */
 		if (i) return i;
 
@@ -993,6 +999,7 @@
 		con_set_default_unimap();
 
 		return 0;
+#endif
 	}
 
 	case GIO_FONTX:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this