mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-17 00:22:59 +00:00
Fix missing return value when !SUNDISPLAY, !XWINDOW. (#288)
This commit is contained in:
parent
d4cbb6c9dc
commit
6428e64d69
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user