diff src/prefs.c @ 1080:e6637ff33957

[gaim-migrate @ 1090] removing none shouldn't crash committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 10 Nov 2000 05:54:04 +0000
parents 81d19577285a
children 56c7ceb986a8
line wrap: on
line diff
--- a/src/prefs.c	Fri Nov 10 04:11:34 2000 +0000
+++ b/src/prefs.c	Fri Nov 10 05:54:04 2000 +0000
@@ -1215,6 +1215,7 @@
 
         i = GTK_LIST(prefs_away_list)->selection;
 
+	if (!i) return;
 	if (!i->next) {
 		int text_len = gtk_text_get_length(GTK_TEXT(away_text));
 		gtk_text_set_point(GTK_TEXT(away_text), 0 );