# HG changeset patch # User Eric Polino # Date 1182281992 0 # Node ID fc6d1088cb2733c19232f0818fd2e3fd1a39726f # Parent 68a3b83795c6226f21e84b38d6ce022742e6df7f FIX: INT fields weren't being updated properly diff -r 68a3b83795c6 -r fc6d1088cb27 finch/gntrequest.c --- 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);