Applied fix to `eqconfig` as well, which solves the man page generation issue.

This commit is contained in:
Jim Derry 2017-03-06 17:08:32 -05:00
parent 0572072148
commit 50ff29af54
1 changed files with 3 additions and 1 deletions

View File

@ -323,6 +323,8 @@ static void localize_option_names( CmdOptDesc *pos)
pos->name2 = stringWithFormat(pos->name2, fileString);
if ( pos->name3 )
pos->name3 = stringWithFormat(pos->name3, fileString);
if ( pos->eqconfig )
pos->eqconfig = stringWithFormat(pos->eqconfig, fileString);
}
/**
@ -470,7 +472,7 @@ static void print_xml_help_option( void )
print_xml_help_option_element("name", localPos.name3);
print_xml_help_option_element("description", tidyLocalizedString( pos->key ) );
if (pos->eqconfig)
print_xml_help_option_element("eqconfig", pos->eqconfig);
print_xml_help_option_element("eqconfig", localPos.eqconfig);
else
printf(" <eqconfig />\n");
printf(" </option>\n");