# HG changeset patch # User Rob Flynn # Date 958412584 0 # Node ID b8c5efaef154d00d74c77b1391951b979e969640 # Parent f930b55a736786d744a446cbbdb75c173aebeb11 [gaim-migrate @ 243] Font face crash fix committer: Tailor Script diff -r f930b55a7367 -r b8c5efaef154 src/gaimrc.c --- a/src/gaimrc.c Mon May 15 17:41:47 2000 +0000 +++ b/src/gaimrc.c Mon May 15 17:43:04 2000 +0000 @@ -456,9 +456,11 @@ } else if (!strcmp(p->option, "font_options")) { font_options = atoi(p->value[0]); } else if (!strcmp(p->option, "font_face")) { - fontface = g_strconcat(p->value[0], '\0'); + if (p->value[0] != NULL) + fontface = g_strconcat(p->value[0], '\0'); } else if (!strcmp(p->option, "font_name")) { - fontname = g_strconcat(p->value[0], '\0'); + if (p->value[0] != NULL) + fontname = g_strconcat(p->value[0], '\0'); } else if (!strcmp(p->option, "latest_ver")) { g_snprintf(latest_ver, BUF_LONG, "%s", p->value[0]); } else if (!strcmp(p->option, "report_idle")) {