Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/wscons Don't define WSDISPLAY_FONTORDER_L2R as 0. T...



details:   https://anonhg.NetBSD.org/src/rev/18cdf9b84985
branches:  trunk
changeset: 480219:18cdf9b84985
user:      enami <enami%NetBSD.org@localhost>
date:      Fri Jan 07 03:13:23 2000 +0000

description:
Don't define WSDISPLAY_FONTORDER_L2R as 0.  The function wsfont_lock uses
the value 0 specially.

diffstat:

 sys/dev/wscons/wsconsio.h |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r b617d3226845 -r 18cdf9b84985 sys/dev/wscons/wsconsio.h
--- a/sys/dev/wscons/wsconsio.h Fri Jan 07 03:04:41 2000 +0000
+++ b/sys/dev/wscons/wsconsio.h Fri Jan 07 03:13:23 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsconsio.h,v 1.22 2000/01/06 11:38:02 ad Exp $ */
+/* $NetBSD: wsconsio.h,v 1.23 2000/01/07 03:13:23 enami Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -274,8 +274,9 @@
 #define WSDISPLAY_FONTENC_PCVT 2
        int fontwidth, fontheight, stride;
        int bitorder, byteorder;
-#define WSDISPLAY_FONTORDER_L2R 0
-#define WSDISPLAY_FONTORDER_R2L 1
+#define        WSDISPLAY_FONTORDER_KNOWN 0             /* i.e, no need to convert */
+#define        WSDISPLAY_FONTORDER_L2R 1
+#define        WSDISPLAY_FONTORDER_R2L 2
        void *data;
 };
 #define WSDISPLAYIO_LDFONT     _IOW('W', 77, struct wsdisplay_font)



Home | Main Index | Thread Index | Old Index