comparison src/gtkutils.c @ 7873:f691e3eb4ff3

[gaim-migrate @ 8527] unused variable committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 14 Dec 2003 19:04:09 +0000
parents e873d0bd0e6c
children e8fc79fb648b
comparison
equal deleted inserted replaced
7872:0f7d0648393a 7873:f691e3eb4ff3
238 238
239 void 239 void
240 gaim_gtk_set_font_face(GaimGtkConversation *gtkconv, 240 gaim_gtk_set_font_face(GaimGtkConversation *gtkconv,
241 const char *font) 241 const char *font)
242 { 242 {
243 char *pre_fontface;
244
245 if (gtkconv == NULL || font == NULL) 243 if (gtkconv == NULL || font == NULL)
246 return; 244 return;
247 245
248 strncpy(gtkconv->fontface, 246 strncpy(gtkconv->fontface,
249 (font && *font ? font : DEFAULT_FONT_FACE), 247 (font && *font ? font : DEFAULT_FONT_FACE),