changeset 41:d26bb1168d00 trunk

[svn] More fixes.
author nenolod
date Wed, 26 Oct 2005 11:32:09 -0700
parents bd8bfeae314e
children 5a432360e41e
files Visualization/libvisual-proxy/lv_bmp_config.c Visualization/libvisual-proxy/main.c
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Visualization/libvisual-proxy/lv_bmp_config.c	Wed Oct 26 11:22:20 2005 -0700
+++ b/Visualization/libvisual-proxy/lv_bmp_config.c	Wed Oct 26 11:32:09 2005 -0700
@@ -72,9 +72,6 @@
 
 Options *lv_bmp_config_open ()
 {
-#warning ***** Yes, I WANT 'trash' uninitialized *****
-	unsigned int trash;
-
 	actor_plugin_buffer = g_malloc0 (OPTIONS_MAX_NAME_LEN);
 	options.last_plugin = actor_plugin_buffer;
 	morph_plugin_buffer = g_malloc0 (OPTIONS_MAX_NAME_LEN);
@@ -82,7 +79,7 @@
 
 	config_visual_initialize ();
 
-	srand (trash);
+	srand (time(NULL));
 
 	load_actor_plugin_list ();
 
--- a/Visualization/libvisual-proxy/main.c	Wed Oct 26 11:22:20 2005 -0700
+++ b/Visualization/libvisual-proxy/main.c	Wed Oct 26 11:32:09 2005 -0700
@@ -142,7 +142,7 @@
 					SDL_GetError(),
 					"\n\n", PACKAGE_NAME,
 					_(" will not be loaded."), 0);
-		msgwin = xmms_show_message (PACKAGE_NAME, msg, _("Accept"), TRUE, dummy, NULL);
+		msgwin = xmms_show_message ("libvisual-proxy", msg, _("Accept"), TRUE, dummy, NULL);
 		gtk_widget_show (msgwin);
 		g_free (msg);
 		return;