Mercurial > hg > xmms-sid
comparison 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 |
comparison
equal
deleted
inserted
replaced
333:15c5b231efc9 | 334:19c89f9ca2cc |
---|---|
134 /* Get subtune number */ | 134 /* Get subtune number */ |
135 tmpItem = gtk_menu_get_active(GTK_MENU(data)); | 135 tmpItem = gtk_menu_get_active(GTK_MENU(data)); |
136 tmpIndex = g_list_index(GTK_MENU_SHELL(data)->children, tmpItem); | 136 tmpIndex = g_list_index(GTK_MENU_SHELL(data)->children, tmpItem); |
137 | 137 |
138 /* Get subtune information */ | 138 /* Get subtune information */ |
139 tmpNode = &xs_fileinfostil->subTune[tmpIndex]; | 139 tmpNode = &xs_fileinfostil->subTunes[tmpIndex]; |
140 subName = tmpNode->pName; | 140 subName = tmpNode->pName; |
141 subAuthor = tmpNode->pAuthor; | 141 subAuthor = tmpNode->pAuthor; |
142 | 142 |
143 /* Put in the new text, if available */ | 143 /* Put in the new text, if available */ |
144 if (tmpNode->pInfo) | 144 if (tmpNode->pInfo) |
225 GTK_SIGNAL_FUNC (xs_fileinfo_subtune), tmpMenu); | 225 GTK_SIGNAL_FUNC (xs_fileinfo_subtune), tmpMenu); |
226 | 226 |
227 /* Other menu items */ | 227 /* Other menu items */ |
228 for (n = 1; n <= tmpInfo->nsubTunes; n++) | 228 for (n = 1; n <= tmpInfo->nsubTunes; n++) |
229 { | 229 { |
230 | |
231 if (xs_fileinfostil) | 230 if (xs_fileinfostil) |
232 { | 231 { |
233 snprintf(tmpStr, sizeof(tmpStr), "Tune #%i: ", n); | 232 snprintf(tmpStr, sizeof(tmpStr), "Tune #%i: ", n); |
234 tmpNode = &xs_fileinfostil->subTune[n]; | 233 tmpNode = &xs_fileinfostil->subTunes[n]; |
235 if (tmpNode->pName) | 234 if (tmpNode->pName) |
236 xs_pnstrcat(tmpStr, sizeof(tmpStr), tmpNode->pName); | 235 xs_pnstrcat(tmpStr, sizeof(tmpStr), tmpNode->pName); |
237 else | 236 else |
238 if (tmpNode->pInfo) | 237 if (tmpNode->pInfo) |
239 xs_pnstrcat(tmpStr, sizeof(tmpStr), tmpNode->pInfo); | 238 xs_pnstrcat(tmpStr, sizeof(tmpStr), tmpNode->pInfo); |