comparison vidix/pci.c @ 24827:4ec67a66ef54

Check return value of add_face. This fixes segfault when reselecting fonts and the new font could not be loaded (because of a bad font file, or too many font faces already loaded). Patch by Glen Nakamura, glen at imodulo dot com.
author eugeni
date Thu, 25 Oct 2007 21:19:20 +0000
parents 263c0b282d90
children 502f04b67653
comparison
equal deleted inserted replaced
24826:ac881f93b661 24827:4ec67a66ef54