Mercurial > pidgin
diff src/conversation.c @ 315:68637b451377
[gaim-migrate @ 325]
Hee hee hee
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 02 Jun 2000 18:03:18 +0000 |
parents | 0a8b4edc4732 |
children | f5b199e20d12 |
line wrap: on
line diff
--- a/src/conversation.c Fri Jun 02 15:50:03 2000 +0000 +++ b/src/conversation.c Fri Jun 02 18:03:18 2000 +0000 @@ -1237,8 +1237,10 @@ gtk_signal_connect(GTK_OBJECT(entry), "insert-text", GTK_SIGNAL_FUNC(check_spelling), entry); gtk_signal_connect(GTK_OBJECT(entry), "key_press_event", GTK_SIGNAL_FUNC(entry_key_pressed), entry); - strncpy(c->current_fontface, fontface, sizeof(c->current_fontface)); - strncpy(c->current_fontname, fontname, sizeof(c->current_fontname)); + if (fontface) + strncpy(c->current_fontface, fontface, sizeof(c->current_fontface)); + if (fontname) + strncpy(c->current_fontname, fontname, sizeof(c->current_fontname)); set_font_face(NULL, c);