summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3a278a5)
raw | patch | inline | side by side (parent: 3a278a5)
author | Max Kellermann <max@duempel.org> | |
Wed, 17 Sep 2008 10:25:52 +0000 (12:25 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Wed, 17 Sep 2008 10:25:52 +0000 (12:25 +0200) |
Since the list_window code sets highlight to 0 before it calls the
list_callback, the callback itself doesn't have to reset the flag.
list_callback, the callback itself doesn't have to reset the flag.
src/screen_artist.c | patch | blob | history | |
src/screen_file.c | patch | blob | history | |
src/screen_keydef.c | patch | blob | history | |
src/screen_play.c | patch | blob | history |
diff --git a/src/screen_artist.c b/src/screen_artist.c
index f010a089dcaeea11ef1582c5dcadf01ad40c249a..eb7b2e5d468ebb3e57c5f39e561a40a8aef7ecb7 100644 (file)
--- a/src/screen_artist.c
+++ b/src/screen_artist.c
static char buf[BUFSIZE];
char *str, *str_utf8;
- *highlight = 0;
if( (str_utf8=(char *) g_list_nth_data(metalist,index))==NULL )
return NULL;
diff --git a/src/screen_file.c b/src/screen_file.c
index 264045739bad23890b10be28a90beaf8ec77c970..16f9352428def6157fa9c36ac244a4657462f338 100644 (file)
--- a/src/screen_file.c
+++ b/src/screen_file.c
filelist_entry_t *entry;
mpd_InfoEntity *entity;
- *highlight = 0;
if( (entry=(filelist_entry_t *)g_list_nth_data(fl->list,idx))==NULL )
return NULL;
diff --git a/src/screen_keydef.c b/src/screen_keydef.c
index 397933a14578367e58159f02c765898d8d98ce96..9d573976afccd1ee9c95f61a7573f69f57286665 100644 (file)
--- a/src/screen_keydef.c
+++ b/src/screen_keydef.c
{
static char buf[BUFSIZE];
- *highlight = 0;
if (subcmd < 0) {
if (idx < (unsigned)command_list_length) {
if (cmds[idx].flags & COMMAND_KEY_CONFLICT)
diff --git a/src/screen_play.c b/src/screen_play.c
index 0426176d602b52898540cc95384c607c723f97c8..c59c766cd49b5bd3e25985870233c09558249ea7 100644 (file)
--- a/src/screen_play.c
+++ b/src/screen_play.c
mpdclient_t *c = (mpdclient_t *) data;
mpd_Song *song;
- *highlight = 0;
if( (song=playlist_get_song(c, idx)) == NULL ) {
return NULL;
}