diff audacious/util.c @ 2019:d3a62e1075e2 trunk

[svn] Allow \ to / conversion to be switched on & off, by external contributor Chris Kehler <cbkehler@sympatico.ca>.
author chainsaw
date Wed, 29 Nov 2006 12:45:02 -0800
parents 200970e7a3b1
children c725daec3849
line wrap: on
line diff
--- a/audacious/util.c	Tue Nov 28 12:06:18 2006 -0800
+++ b/audacious/util.c	Wed Nov 29 12:45:02 2006 -0800
@@ -1573,6 +1573,9 @@
 {
     g_return_val_if_fail(title != NULL, NULL);
 
+    if (cfg.convert_slash)
+	    str_replace_char(title, '\\', '/');
+    
     if (cfg.convert_underscore)
         str_replace_char(title, '_', ' ');