diff options
author | 2002-02-23 23:14:29 +0000 | |
---|---|---|
committer | 2002-02-23 23:14:29 +0000 | |
commit | d840ddb7c5b867ed87e0d0d068f3903d21bff8eb (patch) | |
tree | 190effe95dd46262727a0968af189f276b22b38d /libvo | |
parent | 70109de1781708762dc876921a278144d0255fd6 (diff) |
ehh, return error if cannot open display
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4828 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |