mirror of
https://github.com/Interlisp/maiko.git
synced 2026-04-27 12:49:29 +00:00
Fix missing return value when !SUNDISPLAY, !XWINDOW. (#288)
This commit is contained in:
@@ -70,16 +70,16 @@ LispPTR DSP_VideoColor(LispPTR *args) /* args[0] : black flag */
|
|||||||
int invert;
|
int invert;
|
||||||
#ifdef SUNDISPLAY
|
#ifdef SUNDISPLAY
|
||||||
return NIL;
|
return NIL;
|
||||||
#endif /* SUNDISPLAY */
|
#elif defined(XWINDOW)
|
||||||
|
|
||||||
#ifdef XWINDOW
|
|
||||||
invert = args[0] & 0xFFFF;
|
invert = args[0] & 0xFFFF;
|
||||||
lisp_Xvideocolor(invert);
|
lisp_Xvideocolor(invert);
|
||||||
if (invert)
|
if (invert)
|
||||||
return ATOM_T;
|
return ATOM_T;
|
||||||
else
|
else
|
||||||
return NIL;
|
return NIL;
|
||||||
#endif /* XWINDOW */
|
#else
|
||||||
|
return NIL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
extern struct cursor CurrentCursor;
|
extern struct cursor CurrentCursor;
|
||||||
|
|||||||
Reference in New Issue
Block a user