# HG changeset patch # User Sean Egan # Date 1057705633 0 # Node ID ed3c3c38e182a213d70cdc2491185dacc1a10b30 # Parent 5239a3b4ab33dad09a351d4d6335b39eaa17aad2 [gaim-migrate @ 6514] clee|work (who I suppose is at work right now) points out that we allow the Idle Maker plugin to set idle times of sizes up to an int, whereas OSCAR only accepts them up to a short int. Actually, he just complained that it wasn't working and I explained that it was overflowing. I'm not quite sure he understands, but this is a nice fix, regardless. committer: Tailor Script diff -r 5239a3b4ab33 -r ed3c3c38e182 plugins/idle.c --- a/plugins/idle.c Tue Jul 08 06:11:49 2003 +0000 +++ b/plugins/idle.c Tue Jul 08 23:07:13 2003 +0000 @@ -18,7 +18,7 @@ static void set_idle(GtkWidget *button, GtkWidget *spinner) { time_t t; - int tm = CLAMP(gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(spinner)), 0, G_MAXINT); + int tm = CLAMP(gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(spinner)), 0, G_MAXSHORT); GaimAccount *account; if (!gc)