[gaim-migrate @ 8784]

Tue, 13 Jan 2004 00:02:34 +0000

author
Nathan Walp <nwalp@pidgin.im>
date
Tue, 13 Jan 2004 00:02:34 +0000
changeset 8085
e8cfc56b185c
parent 8084
6a28da9ff478
child 8086
7ac5092091f0

[gaim-migrate @ 8784]
this makes protocol-specific options show their true values, like they're supposed to

src/gtkaccount.c file | annotate | diff | comparison | revisions
--- a/src/gtkaccount.c	Mon Jan 12 16:45:13 2004 +0000
+++ b/src/gtkaccount.c	Tue Jan 13 00:02:34 2004 +0000
@@ -647,7 +647,7 @@
 
 		switch (gaim_account_option_get_type(option)) {
 			case GAIM_PREF_BOOLEAN:
-				if (account == NULL || !strcmp(gaim_account_get_protocol_id(account), dialog->protocol_id)) {
+				if (account == NULL || strcmp(gaim_account_get_protocol_id(account), dialog->protocol_id)) {
 					bool_value = gaim_account_option_get_default_bool(option);
 				} else {
 					bool_value = gaim_account_get_bool(account,
@@ -670,7 +670,7 @@
 				break;
 
 			case GAIM_PREF_INT:
-				if (account == NULL || !strcmp(gaim_account_get_protocol_id(account), dialog->protocol_id)) {
+				if (account == NULL || strcmp(gaim_account_get_protocol_id(account), dialog->protocol_id)) {
 					int_value = gaim_account_option_get_default_int(option);
 				} else {
 					int_value = gaim_account_get_int(account,
@@ -696,7 +696,7 @@
 				break;
 
 			case GAIM_PREF_STRING:
-				if (account == NULL || !strcmp(gaim_account_get_protocol_id(account), dialog->protocol_id)) {
+				if (account == NULL || strcmp(gaim_account_get_protocol_id(account), dialog->protocol_id)) {
 					str_value = gaim_account_option_get_default_string(option);
 				} else {
 					str_value = gaim_account_get_string(account,

mercurial