summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2010-05-30 21:57:58 +0000
committerphintuka <phintuka>2010-05-30 21:57:58 +0000
commit81391c091b8cfe295e5656093ac8de3ed962a8ac (patch)
treea7491f7565832714eb4b1802e0f897913460aea5
parentfc15faf0905e3849b94be1b1eebab4668bfb0147 (diff)
downloadxineliboutput-81391c091b8cfe295e5656093ac8de3ed962a8ac.tar.gz
xineliboutput-81391c091b8cfe295e5656093ac8de3ed962a8ac.tar.bz2
Cosmetics
-rw-r--r--xine_sxfe_frontend.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c
index d8a7ae7b..1035362d 100644
--- a/xine_sxfe_frontend.c
+++ b/xine_sxfe_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_sxfe_frontend.c,v 1.122 2010-05-26 11:54:26 phintuka Exp $
+ * $Id: xine_sxfe_frontend.c,v 1.123 2010-05-30 21:57:58 phintuka Exp $
*
*/
@@ -1258,11 +1258,13 @@ static int sxfe_display_open(frontend_t *this_gen,
set_fullscreen_props(this);
XUnlockDisplay (this->display);
+
#ifdef HAVE_XRENDER
- return hud_osd_open(this);
-#else
- return 1;
+ if (!hud_osd_open(this))
+ return 0;
#endif
+
+ return 1;
}
/*