src/music_gui.cpp
changeset 10253 fb5cae13863f
parent 10039 1f236afd6cd1
child 10254 db693bb125a7
--- a/src/music_gui.cpp	Sat Oct 18 13:13:31 2008 +0000
+++ b/src/music_gui.cpp	Sat Oct 18 13:43:52 2008 +0000
@@ -114,7 +114,7 @@
 	do {
 		/* We are now checking for the existence of that file prior
 		 * to add it to the list of available songs */
-		if (FioCheckFileExists(origin_songs_specs[_playlists[msf.playlist][i]].filename, GM_DIR)) {
+		if (FioCheckFileExists(origin_songs_specs[_playlists[msf.playlist][i] - 1].filename, GM_DIR)) {
 			_cur_playlist[j] = _playlists[msf.playlist][i];
 			j++;
 		}