From d840ddb7c5b867ed87e0d0d068f3903d21bff8eb Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 23 Feb 2002 23:14:29 +0000 Subject: ehh, return error if cannot open display git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4828 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo') diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index 986ce8d327..1ab2e95bdc 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -246,7 +246,7 @@ static uint32_t config( uint32_t width,uint32_t height,uint32_t d_width,uint32_t #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) -- cgit v1.2.3