summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 4cf7811313..a05bbee9d5 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -428,7 +428,7 @@ static uint32_t preinit(const char *arg)
return ENOSYS;
}
- if(!vo_init()) return 1;
+ if( !vo_init() ) return -1; // Can't open X11
return 0;
}