Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/wsfont Sort spleen also in builtin_fonts[].



details:   https://anonhg.NetBSD.org/src/rev/04c9fcda12e5
branches:  trunk
changeset: 957283:04c9fcda12e5
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Nov 23 12:15:39 2020 +0000

description:
Sort spleen also in builtin_fonts[].
No functional changes.

diffstat:

 sys/dev/wsfont/wsfont.c |  22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diffs (50 lines):

diff -r c9c8e9e835cf -r 04c9fcda12e5 sys/dev/wsfont/wsfont.c
--- a/sys/dev/wsfont/wsfont.c   Mon Nov 23 06:46:38 2020 +0000
+++ b/sys/dev/wsfont/wsfont.c   Mon Nov 23 12:15:39 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wsfont.c,v 1.70 2020/11/21 22:59:18 rin Exp $  */
+/*     $NetBSD: wsfont.c,v 1.71 2020/11/23 12:15:39 rin Exp $  */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsfont.c,v 1.70 2020/11/21 22:59:18 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsfont.c,v 1.71 2020/11/23 12:15:39 rin Exp $");
 
 #include "opt_wsfont.h"
 
@@ -288,6 +288,15 @@
 #ifdef FONT_GO_MONO12x23
        { { NULL, NULL }, &Go_Mono_12x23, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
 #endif
+#ifdef FONT_SPLEEN5x8
+       { { NULL, NULL }, &spleen5x8, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
+#endif
+#ifdef FONT_SPLEEN6x12
+       { { NULL, NULL }, &spleen6x12, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
+#endif
+#ifdef FONT_SPLEEN8x16
+       { { NULL, NULL }, &spleen8x16, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
+#endif
 #ifdef FONT_SPLEEN12x24
        { { NULL, NULL }, &spleen12x24, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
 #endif
@@ -297,15 +306,6 @@
 #ifdef FONT_SPLEEN32x64
        { { NULL, NULL }, &spleen32x64, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
 #endif
-#ifdef FONT_SPLEEN5x8
-       { { NULL, NULL }, &spleen5x8, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
-#endif
-#ifdef FONT_SPLEEN6x12
-       { { NULL, NULL }, &spleen6x12, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
-#endif
-#ifdef FONT_SPLEEN8x16
-       { { NULL, NULL }, &spleen8x16, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
-#endif
 #ifdef FONT_LIBERATION_MONO12x21
        { { NULL, NULL }, &Liberation_Mono_12x21, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
 #endif



Home | Main Index | Thread Index | Old Index