changeset 8085:6ed314f47f4b

[gaim-migrate @ 8784] this makes protocol-specific options show their true values, like they're supposed to committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 13 Jan 2004 00:02:34 +0000
parents 0694e3afa206
children 55431e80a783
files src/gtkaccount.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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,