Commit ce037f4e authored by Mike Gabriel's avatar Mike Gabriel

nxcomp/Loop.cpp: Allow nx/nx:<disp> as DISPLAY variable (i.e. an empty nx/nx options string.

parent a4be1b89
...@@ -4069,6 +4069,7 @@ int SetupDisplaySocket(int &xServerAddrFamily, sockaddr *&xServerAddr, ...@@ -4069,6 +4069,7 @@ int SetupDisplaySocket(int &xServerAddrFamily, sockaddr *&xServerAddr,
} }
else if (strncasecmp(display, "nx/nx,", 6) == 0 || else if (strncasecmp(display, "nx/nx,", 6) == 0 ||
strncasecmp(display, "nx,", 3) == 0 || strncasecmp(display, "nx,", 3) == 0 ||
strncasecmp(display, "nx/nx:", 6) == 0 ||
strncasecmp(display, "nx:", 3) == 0) strncasecmp(display, "nx:", 3) == 0)
{ {
#ifdef PANIC #ifdef PANIC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment