diff options
Diffstat (limited to 'src/idop.c')
-rw-r--r-- | src/idop.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,5 +1,5 @@ /* This file is part of Idest. - Copyright (C) 2009-2011 Sergey Poznyakoff + Copyright (C) 2009-2011, 2015 Sergey Poznyakoff Idest is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -377,10 +377,9 @@ set_tag_options(struct id3_tag *tag, int vopt) opts |= ID3_TAG_OPTION_ID3V1; if (!(vopt & IDEST_ID3V_2)) opts |= ID3_TAG_OPTION_NO_ID3V2; - if (opts) - id3_tag_options(tag, - ID3_TAG_OPTION_ID3V1|ID3_TAG_OPTION_NO_ID3V2, - opts); + id3_tag_options(tag, + ID3_TAG_OPTION_ID3V1|ID3_TAG_OPTION_NO_ID3V2, + opts); } int |