diff src/prefs.c @ 3433:0f6a26952be7

[gaim-migrate @ 3460] Here, Luke. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 25 Aug 2002 23:15:40 +0000
parents d40f96a0169b
children 0c281a80767d
line wrap: on
line diff
--- a/src/prefs.c	Sun Aug 25 23:06:36 2002 +0000
+++ b/src/prefs.c	Sun Aug 25 23:15:40 2002 +0000
@@ -118,7 +118,7 @@
 	
 	 prefs = NULL;
 	 for (v = 0; v < NUM_SOUNDS; v++) {
-		if (sound_file_new[v])
+		if (sound_file_new[v] && (sound_file_new[v] != sound_file[v]))
 			g_free(sound_file_new[v]);
 		sound_file_new[v] = NULL;
 	 }