summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-09-11 14:00:35 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-09-11 14:00:35 +0000
commit191fe9f7df88c237c0ff7536f3ba434ba2718a32 (patch)
treef1a2145e7655fbc01e2d699b7ec2f656d74e1ed5 /sys/arch/vax
parentcb812fc5700e1d8815d380ca75b8e84303c421a6 (diff)
Fix inverted test when selecting resolution on the 1024x864 VLC frame buffer.
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/vsa/lcg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/vax/vsa/lcg.c b/sys/arch/vax/vsa/lcg.c
index b73a59bd9ce..4614f1316d4 100644
--- a/sys/arch/vax/vsa/lcg.c
+++ b/sys/arch/vax/vsa/lcg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lcg.c,v 1.17 2011/08/26 21:50:16 miod Exp $ */
+/* $OpenBSD: lcg.c,v 1.18 2011/09/11 14:00:34 miod Exp $ */
/*
* Copyright (c) 2006 Miodrag Vallat.
*
@@ -367,9 +367,9 @@ lcg_probe_screen(u_int32_t cfg, u_int *width, u_int *height)
break;
case 0x07:
if (vax_confdata & 0x80) {
- w = 1024; h = 864;
- } else {
w = 1024; h = 768;
+ } else {
+ w = 1024; h = 864;
}
break;
default: