view parser-cfg.h @ 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 5385740067a1
children d88f5f82826e
line wrap: on
line source

#ifndef _parser_cfg_h
#define _parser_cfg_h

extern int m_config_parse_config_file(m_config_t* config, char *conffile);

#endif