diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ncmpc.h | 2 | ||||
-rw-r--r-- | src/strfsong.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ncmpc.h b/src/ncmpc.h index 64160531f..6efe55af6 100644 --- a/src/ncmpc.h +++ b/src/ncmpc.h @@ -43,7 +43,7 @@ #define LIST_FORMAT (options.list_format ? options.list_format : DEFAULT_LIST_FORMAT) /* song format - status window */ -#define DEFAULT_STATUS_FORMAT "[%artist% - ]%title%|%basename%" +#define DEFAULT_STATUS_FORMAT "[%artist% - ]%title%|%shortfile%" #define STATUS_FORMAT (options.status_format ? options.status_format : DEFAULT_STATUS_FORMAT) #endif /* NCMPC_H */ diff --git a/src/strfsong.c b/src/strfsong.c index a7eb011f8..801447276 100644 --- a/src/strfsong.c +++ b/src/strfsong.c @@ -145,7 +145,7 @@ _strfsong(gchar *s, n = end - p + 1; if(*end != '%') n--; - else if (strncmp("%basename%", p, n) == 0) + else if (strncmp("%shortfile%", p, n) == 0) temp = utf8_to_locale(basename(song->file)); else if (strncmp("%file%", p, n) == 0) temp = utf8_to_locale(song->file); |