aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_file.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2006-01-16 10:01:35 +0000
committerKalle Wallin <kaw@linux.se>2006-01-16 10:01:35 +0000
commit1603384f1bf298466183a2bfec343293b5b9ead9 (patch)
tree09eb4628fee2e065e8a75720d14a9cb62a0ac89e /src/screen_file.c
parent0e1ba218ea357c2ecf9119b8a19017531536229c (diff)
downloadmpd-1603384f1bf298466183a2bfec343293b5b9ead9.tar.gz
mpd-1603384f1bf298466183a2bfec343293b5b9ead9.tar.xz
mpd-1603384f1bf298466183a2bfec343293b5b9ead9.zip
included patch from Jonathan Fors
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3832 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/screen_file.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/screen_file.c b/src/screen_file.c
index b2ca1b6cd..f868e2167 100644
--- a/src/screen_file.c
+++ b/src/screen_file.c
@@ -648,8 +648,12 @@ browse_cmd(screen_t *screen, mpdclient_t *c, command_t cmd)
{
if( mpdclient_cmd_db_update_utf8(c,filelist->path)==0 )
{
- screen_status_printf(_("Database update of %s started!"),
+ if(strcmp(filelist->path,"")) {
+ screen_status_printf(_("Database update of %s started!"),
filelist->path);
+ } else {
+ screen_status_printf(_("Database update started!"));
+ }
/* set updatingDb to make shure the browse callback gets called
* even if the updated has finished before status is updated */
c->status->updatingDb = 1;