Don't crash if the user gives a bogus status format with too many elements.
Replace unused .format_var member of status_expandos list with .args. For expandos which have a subformat, this stores how many arguments are passed to sprintf() when the subformat is expanded in the callback function. The convert_sub_format() function then uses this to limit the number of %s conversion specifiers it creates in the converted subformat. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@426 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Reference in New Issue
Block a user