aboutsummaryrefslogtreecommitdiff
path: root/src/idop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/idop.c')
-rw-r--r--src/idop.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/idop.c b/src/idop.c
index 353bd46..0ce4c65 100644
--- a/src/idop.c
+++ b/src/idop.c
@@ -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

Return to:

Send suggestions and report system problems to the System administrator.