aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_file.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-06-20 20:02:33 +0000
committerKalle Wallin <kaw@linux.se>2004-06-20 20:02:33 +0000
commitc168e8f26c021b6d869e3afa9b4589a638ba5909 (patch)
treec030e2160e24269f7417896a0b18c8b4227e45d4 /src/screen_file.c
parentb64e284f82a247898be963d6df94ad128b52f3e4 (diff)
downloadmpd-c168e8f26c021b6d869e3afa9b4589a638ba5909.tar.gz
mpd-c168e8f26c021b6d869e3afa9b4589a638ba5909.tar.xz
mpd-c168e8f26c021b6d869e3afa9b4589a638ba5909.zip
Added _utf8 suffix to all functions that take utf8 arguments.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1587 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/screen_file.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/screen_file.c b/src/screen_file.c
index ebde97096..9f1d0b209 100644
--- a/src/screen_file.c
+++ b/src/screen_file.c
@@ -277,7 +277,7 @@ load_playlist(screen_t *screen, mpdclient_t *c, filelist_entry_t *entry)
mpd_PlaylistFile *plf = entity->info.playlistFile;
char *filename = utf8_to_locale(plf->path);
- if( mpdclient_cmd_load_playlist(c, plf->path) == 0 )
+ if( mpdclient_cmd_load_playlist_utf8(c, plf->path) == 0 )
screen_status_printf(_("Loading playlist %s..."), basename(filename));
g_free(filename);
return 0;
@@ -318,7 +318,7 @@ handle_delete(screen_t *screen, mpdclient_t *c)
return 0;
}
- if( mpdclient_cmd_delete_playlist(c, plf->path) )
+ if( mpdclient_cmd_delete_playlist_utf8(c, plf->path) )
{
return -1;
}
@@ -418,9 +418,9 @@ handle_select(screen_t *screen, mpdclient_t *c)
{
mpd_Directory *dir = entry->entity->info.directory;
#ifdef USE_OLD_ADD
- add_directory(c, dir->path);
+ add_directory(c, tmp);
#else
- if( mpdclient_cmd_add_path(c, dir->path) == 0 )
+ if( mpdclient_cmd_add_path_utf8(c, dir->path) == 0 )
{
char *tmp = utf8_to_locale(dir->path);
@@ -579,7 +579,7 @@ browse_cmd(screen_t *screen, mpdclient_t *c, command_t cmd)
case CMD_DB_UPDATE:
if( !c->status->updatingDb )
{
- if( mpdclient_cmd_db_update(c,filelist->path)==0 )
+ if( mpdclient_cmd_db_update_utf8(c,filelist->path)==0 )
{
screen_status_printf(_("Database update of %s started!"),
filelist->path);