diff options
author | Kalle Wallin <kaw@linux.se> | 2004-06-20 20:02:33 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-06-20 20:02:33 +0000 |
commit | c168e8f26c021b6d869e3afa9b4589a638ba5909 (patch) | |
tree | c030e2160e24269f7417896a0b18c8b4227e45d4 /src/screen_play.c | |
parent | b64e284f82a247898be963d6df94ad128b52f3e4 (diff) | |
download | mpd-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_play.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/screen_play.c b/src/screen_play.c index 60d0e2586..b11229841 100644 --- a/src/screen_play.c +++ b/src/screen_play.c @@ -183,15 +183,11 @@ handle_save_playlist(screen_t *screen, mpdclient_t *c, char *name) key = tolower(screen_getch(screen->status_window.w, buf)); if( key == YES[0] ) { - char *filename_utf8 = locale_to_utf8(filename); - - if( mpdclient_cmd_delete_playlist(c, filename_utf8) ) + if( mpdclient_cmd_delete_playlist(c, filename) ) { g_free(filename); - g_free(filename_utf8); return -1; } - g_free(filename_utf8); error = handle_save_playlist(screen, c, filename); g_free(filename); return error; |