# HG changeset patch # User Matti Hamalainen # Date 1192651319 -10800 # Node ID b4fe7d2a0d0d12c163fa91c628c0d34efa8d5f62 # Parent e7caa4d49d74470f52035447b7c1b3d6bac33ab8 Use a more describing variable name. diff -r e7caa4d49d74 -r b4fe7d2a0d0d src/audacious/playlist.c --- 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)