diff libvo/vo_x11.c @ 4827:8570abfc6feb

ehh, return error if cannot open display
author alex
date Sat, 23 Feb 2002 23:14:29 +0000
parents 178b524e5213
children c91a96b35522
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)