[easytag] Apply the disc number to all selected files
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Apply the disc number to all selected files
- Date: Wed, 5 Jun 2013 21:56:43 +0000 (UTC)
commit e8c617774eaa35c86ff685675d3f49dd15b61a6f
Author: David King <amigadave amigadave com>
Date: Wed Jun 5 22:53:54 2013 +0100
Apply the disc number to all selected files
Fix a typo made when refactoring use of GList, and loop through all the
selected files when applying the disc number to the selection rather
than just taking the first file.
src/easytag.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/easytag.c b/src/easytag.c
index eef0fbc..93bc050 100644
--- a/src/easytag.c
+++ b/src/easytag.c
@@ -1362,7 +1362,7 @@ Mini_Button_Clicked (GObject *object)
for (l = etfilelist; l != NULL; l = g_list_next (l))
{
- etfile = (ET_File *)etfilelist->data;
+ etfile = (ET_File *)l->data;
FileTag = ET_File_Tag_Item_New();
ET_Copy_File_Tag_Item(etfile,FileTag);
ET_Set_Field_File_Tag_Item(&FileTag->disc_number,string_to_set);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]