summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 54f40af)
raw | patch | inline | side by side (parent: 54f40af)
author | Kalle Wallin <kaw@linux.se> | |
Tue, 4 Jan 2005 21:47:43 +0000 (21:47 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Tue, 4 Jan 2005 21:47:43 +0000 (21:47 +0000) |
src/screen_file.c | patch | blob | history |
diff --git a/src/screen_file.c b/src/screen_file.c
index aff58a526e01a0f0ffe66db216d763d053dd9232..1e13cc4c789dee36bf0b4a1fcb48dc250768153b 100644 (file)
--- a/src/screen_file.c
+++ b/src/screen_file.c
static int
enqueue_and_play(screen_t *screen, mpdclient_t *c, filelist_entry_t *entry)
{
+ int index;
mpd_InfoEntity *entity = entry->entity;
mpd_Song *song = entity->info.song;
return -1;
}
- int index = playlist_get_index_from_file(c, song->file);
+ index = playlist_get_index_from_file(c, song->file);
mpdclient_cmd_play(c, index);
return 0;
}