Mercurial > audlegacy
changeset 4454:a7bf5b979a05
Remove duplicated path separator conversion (backslash to slash).
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 13 Apr 2008 07:15:07 +0300 |
parents | 5a5c8fc27055 |
children | 5125b5910d0e |
files | src/audacious/util.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/util.c Sun Apr 13 07:12:41 2008 +0300 +++ b/src/audacious/util.c Sun Apr 13 07:15:07 2008 +0300 @@ -1023,10 +1023,6 @@ /* try to translate dos path */ convert_dos_path(filename); /* in place replacement */ - /* convert backslash to slash */ - while ((tmp = strchr(filename, '\\')) != NULL) - *tmp = '/'; - // make full path uri here // case 1: filename is raw full path or uri if (filename[0] == '/' || strstr(filename, "://")) {