From b840cb931b798481dcefd3acca76fd2b28e27b6e Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 14 Dec 2009 00:34:51 +0000 Subject: [PATCH] (trunk gtk) #2665 "Crash in GTK+ code" -- fixed for 1.80 --- gtk/details.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/details.c b/gtk/details.c index bb83eaaa6..78c9f6a0a 100644 --- a/gtk/details.c +++ b/gtk/details.c @@ -612,7 +612,7 @@ gtr_label_set_text( GtkLabel * lb, const char * newstr ) { const char * oldstr = gtk_label_get_text( lb ); - if( strcmp( oldstr, newstr ) ) + if( ( oldstr == NULL ) || strcmp( oldstr, newstr ) ) gtk_label_set_text( lb, newstr ); }