summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0afa78d)
raw | patch | inline | side by side (parent: 0afa78d)
author | Kalle Wallin <kaw@linux.se> | |
Mon, 22 Mar 2004 12:39:56 +0000 (12:39 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Mon, 22 Mar 2004 12:39:56 +0000 (12:39 +0000) |
screen_file.c | patch | blob | history |
diff --git a/screen_file.c b/screen_file.c
index 34c4669de30ef87dad0691892cc3ba82e67e7976..086290f745ef9c92e9da5afaf4db131ab74e9c85 100644 (file)
--- a/screen_file.c
+++ b/screen_file.c
file_get_header(mpd_client_t *c)
{
static char buf[64];
+ char *tmp;
+ tmp = utf8_to_locale(basename(c->cwd));
snprintf(buf, 64,
TOP_HEADER_FILE ": %s ",
- basename(c->cwd)
+ tmp
);
+ free(tmp);
return buf;
}