summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fc0fe11)
raw | patch | inline | side by side (parent: fc0fe11)
author | Kalle Wallin <kaw@linux.se> | |
Sat, 19 Jun 2004 19:53:38 +0000 (19:53 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Sat, 19 Jun 2004 19:53:38 +0000 (19:53 +0000) |
src/screen_play.c | patch | blob | history |
diff --git a/src/screen_play.c b/src/screen_play.c
index fc130b9861cc61845dd33cd8e4b5e04eac170f82..60d0e2586c838c00c09bda736710d584b0ecaab6 100644 (file)
--- a/src/screen_play.c
+++ b/src/screen_play.c
void post_completion_cb(GCompletion *gcmp, gchar *line, GList *items)
{
if( g_list_length(items)>=1 )
- screen_display_completion_list(screen, items);
+ {
+ screen_display_completion_list(screen, items);
+ lw->clear = 1;
+ lw->repaint = 1;
+ }
}
if( name==NULL )
void post_completion_cb(GCompletion *gcmp, gchar *line, GList *items)
{
D("post_completion()...\n");
- if( g_list_length(items)>1 )
- screen_display_completion_list(screen, items);
+ if( g_list_length(items)>=1 )
+ {
+ screen_display_completion_list(screen, items);
+ lw->clear = 1;
+ lw->repaint = 1;
+ }
if( line && line[0] && line[strlen(line)-1]=='/' &&
string_list_find(dir_list, line) == NULL )
if( path && path[0] )
mpdclient_cmd_add_path(c, path);
- lw->clear = 1;
- lw->repaint = 1;
-
return 0;
}