diff audacious/mainwin.c @ 1696:cd8711f34c88 trunk

[svn] - DND fixes
author nenolod
date Fri, 15 Sep 2006 07:46:49 -0700
parents cf006d682cbe
children 50d5ef36b035
line wrap: on
line diff
--- a/audacious/mainwin.c	Fri Sep 15 06:36:26 2006 -0700
+++ b/audacious/mainwin.c	Fri Sep 15 07:46:49 2006 -0700
@@ -1956,10 +1956,10 @@
 
     if (str_has_prefix_nocase((gchar *) selection_data->data, "fonts:///"))
     {
-        gchar *path = selection_data->data + 9;		/* skip fonts:/// */
+        gchar *path = (gchar *) selection_data->data + 9;		/* skip fonts:/// */
 	gchar *decoded = xmms_urldecode_plain(path);
 
-        cfg.playlist_font = g_strconcat(decoded, strrchr(cfg.playlist_font, " "), NULL);
+        cfg.playlist_font = g_strconcat(decoded, strrchr(cfg.playlist_font, ' '), NULL);
         playlist_list_set_font(cfg.playlist_font);
         playlistwin_update_list();