[vlc-commits] commit: ncurses: if (a || (!a && b)) -> if (a || b) ( Rafaël Carré )
git at videolan.org
git at videolan.org
Fri Oct 29 23:34:44 CEST 2010
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Fri Oct 29 23:34:13 2010 +0200| [e6cfc171499f1893390e564cb52bc09ddf220783] | committer: Rafaël Carré
ncurses: if (a || (!a && b)) -> if (a || b)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e6cfc171499f1893390e564cb52bc09ddf220783
---
modules/gui/ncurses.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index 9b71175..028431f 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -1017,8 +1017,7 @@ static int DrawPlaylist(intf_thread_t *p_intf)
(!p_node && p_input2 && p_current_item &&
p_item->p_input == p_current_item->p_input))
c = '*';
- else if (p_item == p_node || (p_item != p_node &&
- PlaylistIsPlaying(p_playlist, p_item)))
+ else if (p_item == p_node || PlaylistIsPlaying(p_playlist, p_item))
c = '>';
PL_UNLOCK;
More information about the vlc-commits
mailing list