aboutsummaryrefslogtreecommitdiff
path: root/src/idop.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-07-13 00:53:12 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-07-13 00:57:04 +0300
commit8d89ce088cc25786cb9520f67e9fe81c86c70277 (patch)
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')
-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)
29 id3_ucs4_t *ucs4; 29 id3_ucs4_t *ucs4;
30 const char *condesc; 30 const char *condesc;
31 31
32 switch (frame_id(frame->id)) { 32 switch (frame_to_item_id(frame->id)) {
33 default: 33 default:
34 field = id3_frame_field(frame, 0); 34 field = id3_frame_field(frame, 0);
35 id3_field_settextencoding(field, encoding); 35 id3_field_settextencoding(field, encoding);
@@ -104,7 +104,6 @@ update_frame(struct id3_tag *tag, const struct ed_item *item)
104 && item->condesc) { 104 && item->condesc) {
105 /* Special handling for comments */ 105 /* Special handling for comments */
106 int i = 0; 106 int i = 0;
107 union id3_field *field;
108 107
109 do { 108 do {
110 union id3_field *field = id3_frame_field(frame, 2); 109 union id3_field *field = id3_frame_field(frame, 2);

Return to:

Send suggestions and report system problems to the System administrator.