From 481c70e8c63e3fbab220e098337004d6ce732010 Mon Sep 17 00:00:00 2001 From: des Date: Fri, 5 Feb 1999 12:40:16 +0000 Subject: Followup to yokota's last commit: - va_mode_flags -> va_info.vi_flags - scanline width may be different from screen width --- sys/dev/syscons/daemon/daemon_saver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/syscons/daemon/daemon_saver.c') diff --git a/sys/dev/syscons/daemon/daemon_saver.c b/sys/dev/syscons/daemon/daemon_saver.c index 09f6caf..423e6c7 100644 --- a/sys/dev/syscons/daemon/daemon_saver.c +++ b/sys/dev/syscons/daemon/daemon_saver.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: daemon_saver.c,v 1.13 1999/01/11 03:18:45 yokota Exp $ + * $Id: daemon_saver.c,v 1.14 1999/01/17 14:25:08 yokota Exp $ */ #include @@ -199,7 +199,7 @@ daemon_saver(video_adapter_t *adp, int blank) int min, max; if (blank) { - if (adp->va_mode_flags & V_INFO_GRAPHICS) + if (adp->va_info.vi_flags & V_INFO_GRAPHICS) return EAGAIN; if (blanked == 0) { window = (u_short *)adp->va_window; -- cgit v1.1