Changeset 9747 for trunk/gtk/details.c


Ignore:
Timestamp:
Dec 14, 2009, 12:34:51 AM (13 years ago)
Author:
charles
Message:

(trunk gtk) #2665 "Crash in GTK+ code" -- fixed for 1.80

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/details.c

    r9727 r9747  
    613613    const char * oldstr = gtk_label_get_text( lb );
    614614
    615     if( strcmp( oldstr, newstr ) )
     615    if( ( oldstr == NULL ) || strcmp( oldstr, newstr ) )
    616616        gtk_label_set_text( lb, newstr );
    617617}
Note: See TracChangeset for help on using the changeset viewer.