[easytag] Ensure ID3v2.4 tag fields use the correct encoding



commit df18c025151951cc2ec386855ddda9c8fffd1520
Author: David King <amigadave amigadave com>
Date:   Wed Dec 30 17:29:17 2015 +0000

    Ensure ID3v2.4 tag fields use the correct encoding
    
    Fix the check for whether Unicode should be used when writing ID3v2.4
    tag fields.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758090

 src/tags/id3v24_tag.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tags/id3v24_tag.c b/src/tags/id3v24_tag.c
index e741fe6..dc5b5aa 100644
--- a/src/tags/id3v24_tag.c
+++ b/src/tags/id3v24_tag.c
@@ -1299,7 +1299,7 @@ id3taglib_set_field(struct id3_frame *frame,
     if (str)
     {
         /* Prepare str for writing according to easytag charset coversion settings */
-        if ((g_settings_get_boolean (MainSettings, "id3v2-enable-unicode"))
+        if ((!g_settings_get_boolean (MainSettings, "id3v2-enable-unicode"))
             || (type == ID3_FIELD_TYPE_LATIN1)
             || (type == ID3_FIELD_TYPE_LATIN1FULL)
             || id3v1)


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