Mercurial > audlegacy
changeset 944:03d141f44b4d trunk
[svn] Convert \ path separators to /. Support was already present, but was not enabled before. Closes bug #461.
author | chainsaw |
---|---|
date | Sun, 16 Apr 2006 16:38:46 -0700 |
parents | 0606d7908abb |
children | 6b3750ab5eab |
files | audacious/playlist.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/audacious/playlist.c Sun Apr 16 14:37:40 2006 -0700 +++ b/audacious/playlist.c Sun Apr 16 16:38:46 2006 -0700 @@ -1339,10 +1339,8 @@ filename = g_strchug(g_strdup(filename_p)); - if (cfg.use_backslash_as_dir_delimiter) { - while ((tmp = strchr(filename, '\\')) != NULL) - *tmp = '/'; - } + while ((tmp = strchr(filename, '\\')) != NULL) + *tmp = '/'; if (filename[0] != '/' && !strstr(filename, "://")) { path = g_strdup(playlist_name);