Mercurial > pidgin
changeset 19107:c5bfa35c1cdd
merge of '459bc8f8b1cfc6e94a0a8e8328bc86651ee59cbc'
and 'b0a16e66e861e8f2bbf2d62d49116280cbd6b034'
author | Eric Polino <aluink@pidgin.im> |
---|---|
date | Tue, 19 Jun 2007 19:34:20 +0000 |
parents | 062bb6a591ff (current diff) fd27baf1711b (diff) |
children | 32c479656486 |
files | |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntrequest.c Tue Jun 19 14:32:23 2007 +0000 +++ b/finch/gntrequest.c Tue Jun 19 19:34:20 2007 +0000 @@ -674,13 +674,9 @@ case PURPLE_PREF_INT: { long int tmp; - if (type == PURPLE_REQUEST_FIELD_LIST){ /* Lists always return string */ + if (type == PURPLE_REQUEST_FIELD_LIST) /* Lists always return string */ sscanf(val, "%ld", &tmp); - purple_prefs_set_int(id, (gint)tmp); - } - else{ - purple_prefs_set_int(id,GPOINTER_TO_INT(val)); - } + purple_prefs_set_int(id, (gint)tmp); break; } case PURPLE_PREF_BOOLEAN: