--- a/finch/gntdebug.c Tue Apr 23 18:16:29 2019 -0400 +++ b/finch/gntdebug.c Tue Apr 23 18:18:46 2019 -0400 @@ -278,7 +278,7 @@ } fprintf(fp, "Finch Debug Log : %s\n", purple_date_format_full(NULL)); - fprintf(fp, "%s", tv->string->str); + fprintf(fp, "%s", gnt_text_view_get_text(tv)); fclose(fp); gnt_widget_destroy(GNT_WIDGET(fs)); }