From 4f22082a5c7fead6a10ac8aa210433e599389198 Mon Sep 17 00:00:00 2001 From: axel Date: Wed, 25 Oct 2006 22:27:12 +1000 Subject: [PATCH] Do not remove trailing whitespace from function definitions, the may be a part of a function darcs-hash:20061025122712-ac50b-6d7ab43572f71cafa5fddd65b8350498e2651b41.gz --- function.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/function.c b/function.c index d4b2c9cc9..893c7792b 100644 --- a/function.c +++ b/function.c @@ -186,10 +186,6 @@ void function_add( const wchar_t *name, d->cmd = wcsdup( val ); 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->is_binding = is_binding;