aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/syscons
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-04-12 21:59:00 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-04-12 21:59:00 +0000
commit113925b0b3b25e66af8f477da4d10380872ed929 (patch)
tree7863a7a897b7806c21eae37b2856b05ff02a5b49 /sys/dev/syscons
parentc3b1cbc9e69b7b6aa695bc5c804838dee73df6bf (diff)
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r--sys/dev/syscons/scvgarndr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/syscons/scvgarndr.c b/sys/dev/syscons/scvgarndr.c
index 446a6313f419..963bfec87f37 100644
--- a/sys/dev/syscons/scvgarndr.c
+++ b/sys/dev/syscons/scvgarndr.c
@@ -496,11 +496,11 @@ vga_txtcursor_shape(scr_stat *scp, int base, int height, int blink)
static void
draw_txtcharcursor(scr_stat *scp, int at, u_short c, u_short a, int flip)
{
+#ifndef SC_NO_FONT_LOADING
sc_softc_t *sc;
sc = scp->sc;
-#ifndef SC_NO_FONT_LOADING
if (scp->curs_attr.flags & CONS_CHAR_CURSOR) {
unsigned char *font;
int h;