{
char ch[3];
- snprintf(ch, sizeof(ch), "%c", 'A' + app->playlist.item[i].player);
+ if(OMNPLAY_PLAYLIST_BLOCK_BEGIN & app->playlist.item[i].type)
+ snprintf(ch, sizeof(ch), "%c", 'A' + app->playlist.item[i].player);
+ else
+ ch[0] = 0;
gtk_list_store_append(list_store, &iter);
if(i != item->idx) return FALSE;
- snprintf(ch, sizeof(ch), "%c", 'A' + app->playlist.item[i].player);
+ if(OMNPLAY_PLAYLIST_BLOCK_BEGIN & app->playlist.item[i].type)
+ snprintf(ch, sizeof(ch), "%c", 'A' + app->playlist.item[i].player);
+ else
+ ch[0] = 0;
gtk_list_store_set(item->list_store, iter,
0, "",