mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Treat empty :0.0 identically to unset :0.0 when trying to find a PA server. (Closes #87)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1443 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									312c326def
								
							
						
					
					
						commit
						0e53f939c0
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -44,7 +44,7 @@ int pa_client_conf_from_x11(pa_client_conf *c, const char *dname) {
 | 
			
		|||
    int ret = -1;
 | 
			
		||||
    char t[1024];
 | 
			
		||||
 | 
			
		||||
    if (!dname && !getenv("DISPLAY"))
 | 
			
		||||
    if (!dname && (!(dname = getenv("DISPLAY")) || *dname == '\0'))
 | 
			
		||||
        goto finish;
 | 
			
		||||
 | 
			
		||||
    if (!(d = XOpenDisplay(dname))) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue