From 191fe9f7df88c237c0ff7536f3ba434ba2718a32 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 11 Sep 2011 14:00:35 +0000 Subject: Fix inverted test when selecting resolution on the 1024x864 VLC frame buffer. --- sys/arch/vax/vsa/lcg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/vax') 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: -- cgit v1.2.3