Mercurial > audlegacy
changeset 633:bf9bc9a514ba trunk
[svn] Use g_strchug instead of g_strstrip during playlist load. Trailing whitespace can be a valid occurance. Closes bug #282.
author | chainsaw |
---|---|
date | Sun, 12 Feb 2006 08:59:11 -0800 |
parents | 6bc44654ebba |
children | fb9825a943e3 |
files | audacious/playlist.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/audacious/playlist.c Sun Feb 12 07:12:26 2006 -0800 +++ b/audacious/playlist.c Sun Feb 12 08:59:11 2006 -0800 @@ -1311,7 +1311,7 @@ g_return_if_fail(filename_p != NULL); g_return_if_fail(playlist_name != NULL); - filename = g_strstrip(g_strdup(filename_p)); + filename = g_strchug(g_strdup(filename_p)); if (cfg.use_backslash_as_dir_delimiter) { while ((tmp = strchr(filename, '\\')) != NULL)