mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 17:10:05 +01:00
Don't print warning meessage if display is empty string.
This commit is contained in:
parent
7162aa6a50
commit
fffe2edd22
1 changed files with 1 additions and 1 deletions
|
|
@ -557,7 +557,7 @@ static Bool dmxDisplayInit(DMXScreenInfo *dmxScreen)
|
|||
{
|
||||
if (!dmxOpenDisplay(dmxScreen))
|
||||
{
|
||||
if (dmxScreen->name)
|
||||
if (dmxScreen->name && *dmxScreen->name)
|
||||
dmxLog(dmxWarning,
|
||||
"dmxOpenDisplay: Unable to open display %s\n",
|
||||
dmxScreen->name);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue