changeset 4994:2c191ee5cd7a

[gaim-migrate @ 5329] This is a fix from Robot101 for a minor bug with setting drop-down box preferences. Sean: Please wake up before I wake you up. Rmember, I know where you live. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 04 Apr 2003 03:51:04 +0000
parents de84c1de2f66
children ed2a6196ccab
files src/prefs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/prefs.c	Fri Apr 04 01:37:34 2003 +0000
+++ b/src/prefs.c	Fri Apr 04 03:51:04 2003 +0000
@@ -2378,7 +2378,7 @@
 		gtk_widget_show(opt);
 		gtk_menu_shell_append(GTK_MENU_SHELL(menu), opt);
 
-		if (((clear > -1) && ((*option & value) == value)) || *option == value) {
+		if (((clear > -1) && ((*option & clear) == value)) || *option == value) {
 			gtk_menu_set_active(GTK_MENU(menu), o);
 		}
 		o++;