bug fix: previous commit broke Zaphod mode in spawn()

This commit is contained in:
Julien Danjou 2007-09-27 19:18:19 +02:00
parent b76d5d6722
commit 990bc8d6f2
1 changed files with 1 additions and 1 deletions

2
util.c
View File

@ -68,7 +68,7 @@ uicb_spawn(Display * disp,
if(!arg) if(!arg)
return; return;
if(XineramaIsActive(disp) && (tmp = getenv("DISPLAY"))) if(!XineramaIsActive(disp) && (tmp = getenv("DISPLAY")))
{ {
display = a_strdup(tmp); display = a_strdup(tmp);
if((tmp = strrchr(display, '.'))) if((tmp = strrchr(display, '.')))