changeset 3778:b4fe7d2a0d0d

Use a more describing variable name.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 17 Oct 2007 23:01:59 +0300
parents e7caa4d49d74
children 7f42752acf4d
files src/audacious/playlist.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/playlist.c	Sun Oct 14 00:01:53 2007 -0500
+++ b/src/audacious/playlist.c	Wed Oct 17 23:01:59 2007 +0300
@@ -668,7 +668,7 @@
 			       InputPlugin * dec)
 {
     PlaylistEntry *entry;
-    Tuple *main_tuple = NULL;
+    Tuple *parent_tuple = NULL;
     gint nsubtunes = 0, i = 0;
     gboolean add_flag = TRUE;
 
@@ -678,7 +678,7 @@
     if (tuple != NULL) {
         nsubtunes = tuple->nsubtunes;
         if (nsubtunes > 0) {
-            main_tuple = tuple;
+            parent_tuple = tuple;
             i = 1;
         }
     }
@@ -688,7 +688,7 @@
         
         if (nsubtunes > 0) {
             filename_entry = g_strdup_printf("%s?%d", filename,
-                main_tuple->subtunes ? main_tuple->subtunes[i] : i);
+                parent_tuple->subtunes ? parent_tuple->subtunes[i] : i);
             
             /* We're dealing with subtune, let's ask again tuple information
              * to plugin, by passing the ?subtune suffix; this way we get
@@ -741,8 +741,8 @@
         }
     }
     
-    if (main_tuple)
-        tuple_free(main_tuple);
+    if (parent_tuple)
+        tuple_free(parent_tuple);
 
     if (tuple != NULL && tuple_get_int(tuple, FIELD_MTIME, NULL) == -1) {
         // kick the scanner thread only if mtime = -1 (uninitialized)