[easytag] Fix a bogus check when reading Ogg tags



commit fe5e205d9d05bdac737873da14f9f5709b9bcb23
Author: David King <amigadave amigadave com>
Date:   Tue Mar 1 16:36:53 2016 +0000

    Fix a bogus check when reading Ogg tags
    
    Avoid a duplicated check for description tags inside a Vorbis comment of an Ogg
    file.

 src/tags/ogg_tag.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tags/ogg_tag.c b/src/tags/ogg_tag.c
index 799436b..0bf751c 100644
--- a/src/tags/ogg_tag.c
+++ b/src/tags/ogg_tag.c
@@ -418,7 +418,7 @@ et_add_file_tags_from_vorbis_comments (vorbis_comment *vc,
             g_slist_foreach (descs, values_list_foreach, &FileTag->comment);
             g_slist_foreach (comments, values_list_foreach, &FileTag->comment);
         }
-        else if (descs && comments)
+        else if (comments)
         {
             FileTag->saved = FALSE;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]