Mercurial > pidgin.yaz
diff finch/gntrequest.c @ 19103:fc6d1088cb27
FIX: INT fields weren't being updated properly
author | Eric Polino <aluink@pidgin.im> |
---|---|
date | Tue, 19 Jun 2007 19:39:52 +0000 |
parents | 4ca97b26a8fb |
children | 32c479656486 |
line wrap: on
line diff
--- a/finch/gntrequest.c Thu Jun 14 03:54:49 2007 +0000 +++ b/finch/gntrequest.c Tue Jun 19 19:39:52 2007 +0000 @@ -673,7 +673,7 @@ switch (pt) { case PURPLE_PREF_INT: { - long int tmp; + long int tmp = GPOINTER_TO_INT(val); if (type == PURPLE_REQUEST_FIELD_LIST) /* Lists always return string */ sscanf(val, "%ld", &tmp); purple_prefs_set_int(id, (gint)tmp);