changeset 197:2422fb451db1

Check number of subtunes and disable subtune control in fileinfo, if only 1 subtune.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 18 Aug 2004 08:24:04 +0000
parents bd7375970826
children c7b5120c53c8
files src/xmms-sid.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmms-sid.c	Wed Aug 18 08:19:01 2004 +0000
+++ b/src/xmms-sid.c	Wed Aug 18 08:24:04 2004 +0000
@@ -531,7 +531,7 @@
  if (xs_fileinfowin)
  	{
  	/* Check if we are currently playing and have a tune */
- 	if (xs_status.pTune && xs_status.isPlaying)
+ 	if (xs_status.pTune && xs_status.isPlaying && (xs_status.pTune->nsubTunes > 1))
  		{
 		tmpAdj = gtk_range_get_adjustment(GTK_RANGE(LUW("fileinfo_subctrl_adj")));