Code

make item highlighiting more appropriate
authorAndreas Obergrusberger <tradiaz@yahoo.de>
Fri, 30 Nov 2007 16:18:13 +0000 (16:18 +0000)
committerAndreas Obergrusberger <tradiaz@yahoo.de>
Fri, 30 Nov 2007 16:18:13 +0000 (16:18 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@7062 09075e82-0dd4-0310-85a5-a0d7c8717e4f

src/screen_file.c

index 142c91e121efa1ba2a58fd896959ee68594535ba..75de5b389893d80e956d3cbcda7b008bbe82e484 100644 (file)
@@ -564,10 +564,7 @@ browse_handle_select_all (screen_t *screen,
   if( entry->entity->type!=MPD_INFO_ENTITY_TYPE_SONG )
     continue; 
 
-  if( entry->flags & HIGHLIGHT )
-    entry->flags &= ~HIGHLIGHT;
-  else
-    entry->flags |= HIGHLIGHT;
+  entry->flags |= HIGHLIGHT;
 
   if( entry->flags & HIGHLIGHT )
     {