author | Max Kellermann <max@duempel.org> | |
Tue, 18 Nov 2008 20:51:28 +0000 (21:51 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 18 Nov 2008 20:51:28 +0000 (21:51 +0100) | ||
commit | e12ebb484bf369ea425e93521d99cc6813996e4e | |
tree | 1050c03b3a84055c5d5334459034927d25c1e6e8 | tree | snapshot |
parent | 17a8acbf69f4c6649f274ab506a0bb01c00b7a1a | commit | diff |
filelist: filelist_find_song() returns position instead of pointer
Making the function return the index makes it more flexible: those who
want the pointer can use filelist_get(), and the others may use the
index for other purposes.
Making the function return the index makes it more flexible: those who
want the pointer can use filelist_get(), and the others may use the
index for other purposes.
src/filelist.c | diff | blob | history | |
src/filelist.h | diff | blob | history | |
src/screen_browser.c | diff | blob | history |