From 4ce5675941f7ff4ba815e26a4556bfec16a1b1ce Mon Sep 17 00:00:00 2001 From: deuce <> Date: Thu, 11 Oct 2007 03:28:59 +0000 Subject: [PATCH] Fix remote framebuffer test. --- src/conio/sdlfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conio/sdlfuncs.c b/src/conio/sdlfuncs.c index d166ae172e..4c8ce02772 100644 --- a/src/conio/sdlfuncs.c +++ b/src/conio/sdlfuncs.c @@ -588,7 +588,7 @@ int SDL_main_env(int argc, char **argv, char **env) * This ugly hack attempts to prevent this... of course, remote X11 * connections must still be allowed. */ - if((!use_sdl_video) || getenv("REMOTEHOST")!=NULL && getenv("DISPLAY")==NULL) { + if((!use_sdl_video) || (getenv("REMOTEHOST")!=NULL && getenv("DISPLAY")==NULL)) { /* Sure ,we can't use video, but audio is still valid! */ if(sdl.Init(0)==0) sdl_initialized=TRUE; -- GitLab