summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1998-08-07 18:04:24 +0000
committerkato <kato@FreeBSD.org>1998-08-07 18:04:24 +0000
commitda1fbd5e2562a9182735d47266f718c37ce51225 (patch)
tree9f133f538abc93302365f053e7bf25649fd487aa /sys/pc98
parente838b4fe821f2b8cea0a55af77b2f9c02ed9817e (diff)
downloadFreeBSD-src-da1fbd5e2562a9182735d47266f718c37ce51225.zip
FreeBSD-src-da1fbd5e2562a9182735d47266f718c37ce51225.tar.gz
Fix garbage after quitting X server.
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/pc98/syscons.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/pc98/pc98/syscons.c b/sys/pc98/pc98/syscons.c
index 2f55198..7c64e84 100644
--- a/sys/pc98/pc98/syscons.c
+++ b/sys/pc98/pc98/syscons.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: syscons.c,v 1.93 1998/08/03 10:50:27 kato Exp $
+ * $Id: syscons.c,v 1.94 1998/08/07 11:51:05 kato Exp $
*/
#include "sc.h"
@@ -5346,6 +5346,7 @@ set_mode(scr_stat *scp)
if (scp != cur_console)
return;
+#ifndef PC98
/*
* even if mode switching is disabled, we can change back
* to the initial mode or the custom mode based on the initial
@@ -5355,6 +5356,7 @@ set_mode(scr_stat *scp)
if (mp == NULL)
return;
bcopy(mp, &special_modetable, sizeof(special_modetable));
+#endif
/* setup video hardware for the given mode */
#ifdef PC98
OpenPOWER on IntegriCloud