summaryrefslogtreecommitdiffabout
path: root/src/idop.c
authorSergey Poznyakoff <gray@gnu.org.ua>2011-07-12 21:53:12 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-07-12 21:57:04 (GMT)
commit8d89ce088cc25786cb9520f67e9fe81c86c70277 (patch) (side-by-side diff)
tree000bce5f45503a1760a9ac38c32c17ebfe6d9ea2 /src/idop.c
parentb6fb320cbbddc73aa5bbe76310931ddfc2d15979 (diff)
downloadidest-8d89ce088cc25786cb9520f67e9fe81c86c70277.tar.gz
idest-8d89ce088cc25786cb9520f67e9fe81c86c70277.tar.bz2
Get rid of argmatch.
* gnulib.modules: Remove argmatch. * src/backup.c: Remove unused include. * src/idest.h: Remove unused include. (frame_id): Rename to frame_to_item_id. (ed_item_set_comment_fields): New proto. * src/main.c (item_ids, item_names) (item_frames) (item_id,frame_id) (ed_item_find): Remove. (item_table, item_count): New variables. (name_to_item_info) (frame_id_to_item_info) (frame_to_item_id): New functions.
Diffstat (limited to 'src/idop.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/idop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/idop.c b/src/idop.c
index a906a8c..45fd148 100644
--- a/src/idop.c
+++ b/src/idop.c
@@ -29,7 +29,7 @@ set_frame_value(struct id3_frame *frame, const struct ed_item *item)
id3_ucs4_t *ucs4;
const char *condesc;
- switch (frame_id(frame->id)) {
+ switch (frame_to_item_id(frame->id)) {
default:
field = id3_frame_field(frame, 0);
id3_field_settextencoding(field, encoding);
@@ -104,7 +104,6 @@ update_frame(struct id3_tag *tag, const struct ed_item *item)
&& item->condesc) {
/* Special handling for comments */
int i = 0;
- union id3_field *field;
do {
union id3_field *field = id3_frame_field(frame, 2);

Return to:

Send suggestions and report system problems to the System administrator.