Do not remove trailing whitespace from function definitions, the may be a part of a function

darcs-hash:20061025122712-ac50b-6d7ab43572f71cafa5fddd65b8350498e2651b41.gz
This commit is contained in:
axel 2006-10-25 22:27:12 +10:00
parent e3c1363831
commit 4f22082a5c

View file

@ -186,10 +186,6 @@ void function_add( const wchar_t *name,
d->cmd = wcsdup( val ); d->cmd = wcsdup( val );
cmd_end = d->cmd + wcslen(d->cmd)-1; cmd_end = d->cmd + wcslen(d->cmd)-1;
while( (cmd_end>d->cmd) && wcschr( L"\n\r\t ", *cmd_end ) )
{
*cmd_end-- = 0;
}
d->desc = desc?wcsdup( desc ):0; d->desc = desc?wcsdup( desc ):0;
d->is_binding = is_binding; d->is_binding = is_binding;