1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-14 07:30:21 +00:00

UNIX-GETPARM(DISPLAY) should return "SDL" for SDL-based display, as it returns "X" for X11

This commit is contained in:
Nick Briggs 2023-05-16 18:52:23 -07:00
parent 41ae0162da
commit e8daed41ea

View File

@ -219,6 +219,8 @@ LispPTR unix_getparm(LispPTR *args) {
} else if (strcmp(envname, "DISPLAY") == 0) {
#if defined(XWINDOW)
envvalue = "X";
#elif defined(SDL)
envvalue = "SDL";
#elif defined(DISPLAYBUFFER)
envvalue = "BUFFERED";
#else