aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_play.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-07-01 10:52:57 +0000
committerKalle Wallin <kaw@linux.se>2004-07-01 10:52:57 +0000
commit95633d4b608f6ae3d74c6ee5c269ed2559a9966c (patch)
tree90da767ea9a3bcc7ae57f9d8deff94c9acf82eb3 /src/screen_play.c
parenteedf600cfe4b74db6053e96f0b09979594ca31ba (diff)
downloadmpd-95633d4b608f6ae3d74c6ee5c269ed2559a9966c.tar.gz
mpd-95633d4b608f6ae3d74c6ee5c269ed2559a9966c.tar.xz
mpd-95633d4b608f6ae3d74c6ee5c269ed2559a9966c.zip
Removed the trim() function, using glib's g_strstrip() instead
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1751 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/screen_play.c')
-rw-r--r--src/screen_play.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen_play.c b/src/screen_play.c
index 3478987b5..615472dcc 100644
--- a/src/screen_play.c
+++ b/src/screen_play.c
@@ -154,7 +154,7 @@ handle_save_playlist(screen_t *screen, mpdclient_t *c, char *name)
NULL,
NULL,
gcmp);
- filename=trim(filename);
+ filename=g_strstrip(filename);
/* destroy completion support */
wrln_pre_completion_callback = NULL;