aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-07 01:15:52 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-07 01:15:52 +1000
commite756f7d619a7458768d59cd9bd1c97c6a1c7788a (patch)
tree5bd9af9ee0af8006a639ca23def0f9df5efef559 /builtin.c
parentcf3d30d4e4eb75806bfc92cf540eec6d207817ff (diff)
Minor code cleanup, don't use expand_escape and expand_unescape any more
darcs-hash:20060206151552-ac50b-e2229d096926461f643fdcdfc79ef1ff01344a35.gz
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin.c b/builtin.c
index ba87f663..a54be9e4 100644
--- a/builtin.c
+++ b/builtin.c
@@ -47,7 +47,6 @@
#include "parser.h"
#include "reader.h"
#include "env.h"
-#include "expand.h"
#include "common.h"
#include "wgetopt.h"
#include "sanity.h"
@@ -2937,7 +2936,7 @@ static int builtin_case( wchar_t **argv )
for( i=1; i<argc; i++ )
{
free( unescaped );
- unescaped = expand_unescape( argv[i], 1);
+ unescaped = unescape( argv[i], 1);
if( wildcard_match( current_block->param1.switch_value, unescaped ) )
{