aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-12-13 16:21:36 +0000
committerKalle Wallin <kaw@linux.se>2004-12-13 16:21:36 +0000
commit341ea416977251b39ca75e281d47108c2ce0bbba (patch)
tree7bad2f29ff6d225c95151f3a156557c1b31493b5 /src
parent7bbad86af8ab86f51d45c403326ef14febb7bba2 (diff)
downloadmpd-341ea416977251b39ca75e281d47108c2ce0bbba.tar.gz
mpd-341ea416977251b39ca75e281d47108c2ce0bbba.tar.xz
mpd-341ea416977251b39ca75e281d47108c2ce0bbba.zip
Fixed abort (Ctrl-G) handling in the save playlist prompt
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2794 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/screen_play.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen_play.c b/src/screen_play.c
index a86ab0128..cdb8320e8 100644
--- a/src/screen_play.c
+++ b/src/screen_play.c
@@ -156,13 +156,14 @@ handle_save_playlist(screen_t *screen, mpdclient_t *c, char *name)
NULL,
NULL,
gcmp);
- filename=g_strstrip(filename);
/* destroy completion support */
wrln_pre_completion_callback = NULL;
wrln_post_completion_callback = NULL;
g_completion_free(gcmp);
list = string_list_free(list);
+ if( filename )
+ filename=g_strstrip(filename);
}
else
{