[project @ 2004-09-14 14:48:51 by jmb]
Fix stupidity related to font table initialisation. svn path=/import/netsurf/; revision=1279
This commit is contained in:
parent
c4772ea99c
commit
dd183bcb7e
|
@ -873,8 +873,9 @@ void nsfont_fill_nametable(void)
|
|||
}
|
||||
for (j = 0; j != FONT_FACES; j++) {
|
||||
/**\todo Bold, italic, smallcaps */
|
||||
strncpy(ufont_table[FONT_FACES*i+j],
|
||||
name, FONT_MAX_NAME);
|
||||
if (name)
|
||||
strncpy(ufont_table[FONT_FACES*i+j],
|
||||
name, FONT_MAX_NAME);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue