view parser-mpcmd.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_mpcmd_h
#define _parser_mpcmd_h

extern play_tree_t* m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv);

#endif