diff options
author | Bastien Nocera <hadess@users.sourceforge.net> | 2004-04-16 16:34:22 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@users.sourceforge.net> | 2004-04-16 16:34:22 +0000 |
commit | c2657bde789251c0b8e120861edb3f4f9989fc89 (patch) | |
tree | 9ad4058f123c0c0194ad4078dd8115a87354aadc /src/xine-utils | |
parent | 44c0a772dc78cd298fd9c64db496179b6e2efdb6 (diff) | |
download | xine-lib-c2657bde789251c0b8e120861edb3f4f9989fc89.tar.gz xine-lib-c2657bde789251c0b8e120861edb3f4f9989fc89.tar.bz2 |
- flush the events queue before returning from an open() so that the front-ends
can receive error events before the end of xine_open()
CVS patchset: 6410
CVS date: 2004/04/16 16:34:22
Diffstat (limited to 'src/xine-utils')
-rw-r--r-- | src/xine-utils/list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-utils/list.c b/src/xine-utils/list.c index df57afcb7..15f646d96 100644 --- a/src/xine-utils/list.c +++ b/src/xine-utils/list.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: list.c,v 1.7 2003/12/09 00:02:38 f1rmb Exp $ + * $Id: list.c,v 1.8 2004/04/16 16:34:23 hadess Exp $ * */ #ifdef HAVE_CONFIG_H @@ -107,7 +107,7 @@ int xine_list_is_empty (xine_list_t *l) { fprintf(stderr, "%s(): list is NULL\n", __XINE_FUNCTION__); return -1; } - return (l->first != NULL); + return (l->first == NULL); } void *xine_list_last_content (xine_list_t *l) { |