From 6428e64d694e46220e2e9e7486d635ac20dba6ef Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Mon, 25 Jan 2021 12:22:34 +0700 Subject: [PATCH] Fix missing return value when !SUNDISPLAY, !XWINDOW. (#288) --- src/dspsubrs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dspsubrs.c b/src/dspsubrs.c index 8b5674e..aeee5ff 100644 --- a/src/dspsubrs.c +++ b/src/dspsubrs.c @@ -70,16 +70,16 @@ LispPTR DSP_VideoColor(LispPTR *args) /* args[0] : black flag */ int invert; #ifdef SUNDISPLAY return NIL; -#endif /* SUNDISPLAY */ - -#ifdef XWINDOW +#elif defined(XWINDOW) invert = args[0] & 0xFFFF; lisp_Xvideocolor(invert); if (invert) return ATOM_T; else return NIL; -#endif /* XWINDOW */ +#else + return NIL; +#endif } extern struct cursor CurrentCursor;