changeset 4827:8570abfc6feb

ehh, return error if cannot open display
author alex
date Sat, 23 Feb 2002 23:14:29 +0000
parents a0e8eac85aca
children 0ae597cc28e6
files libvo/vo_x11.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_x11.c	Sat Feb 23 22:43:25 2002 +0000
+++ b/libvo/vo_x11.c	Sat Feb 23 23:14:29 2002 +0000
@@ -246,7 +246,7 @@
 #ifdef HAVE_NEW_GUI
  if ( vo_window == None )
 #endif   
-    if( !vo_init() ) return 0; // Can't open X11
+    if( !vo_init() ) return -1; // Can't open X11
 
 
  if (!title)