Mercurial > hg > xmms-sid
diff src/xs_fileinfo.c @ 334:19c89f9ca2cc
Misc commit.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 22 Sep 2005 02:19:02 +0000 |
parents | dd201740a720 |
children | e065deeb086f |
line wrap: on
line diff
--- a/src/xs_fileinfo.c Thu Sep 22 01:55:01 2005 +0000 +++ b/src/xs_fileinfo.c Thu Sep 22 02:19:02 2005 +0000 @@ -136,7 +136,7 @@ tmpIndex = g_list_index(GTK_MENU_SHELL(data)->children, tmpItem); /* Get subtune information */ - tmpNode = &xs_fileinfostil->subTune[tmpIndex]; + tmpNode = &xs_fileinfostil->subTunes[tmpIndex]; subName = tmpNode->pName; subAuthor = tmpNode->pAuthor; @@ -227,11 +227,10 @@ /* Other menu items */ for (n = 1; n <= tmpInfo->nsubTunes; n++) { - if (xs_fileinfostil) { snprintf(tmpStr, sizeof(tmpStr), "Tune #%i: ", n); - tmpNode = &xs_fileinfostil->subTune[n]; + tmpNode = &xs_fileinfostil->subTunes[n]; if (tmpNode->pName) xs_pnstrcat(tmpStr, sizeof(tmpStr), tmpNode->pName); else