diff audacious/playlist.c @ 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 e4e897d20791
children ffc5ab7b4b2c
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)