diff src/dialogs.c @ 3786:4c9356a5231c

[gaim-migrate @ 3926] privacy options were broken as per last todo commit. deryni tracked it down to the fact that adding the new option changed the number of ->next refererences some options need, causing things to be set oddly. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 22 Oct 2002 13:41:40 +0000
parents c2394f352015
children 12b29552f1d7
line wrap: on
line diff
--- a/src/dialogs.c	Tue Oct 22 13:20:01 2002 +0000
+++ b/src/dialogs.c	Tue Oct 22 13:41:40 2002 +0000
@@ -1165,16 +1165,19 @@
 	GSList *bg = gtk_radio_button_group(GTK_RADIO_BUTTON(deny_type));
 
 	switch (current_deny_gc->permdeny) {
+	case 5:
+		bg = bg->next->next;
+		break;
 	case 4:
 		break;
 	case 3:
-		bg = bg->next->next;
+		bg = bg->next->next->next;
 		break;
 	case 2:
 		bg = bg->next;
 		break;
 	case 1:
-		bg = bg->next->next->next;
+		bg = bg->next->next->next->next;
 		break;
 	}