aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tokenizer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tokenizer.c b/tokenizer.c
index 021c428f..5f006ee2 100644
--- a/tokenizer.c
+++ b/tokenizer.c
@@ -531,7 +531,7 @@ void tok_next( tokenizer *tok )
if( iswdigit( *tok->buff ) )
{
-
+
wchar_t *orig = tok->buff;
int fd = 0;
while( iswdigit( *tok->buff ) )
@@ -548,7 +548,7 @@ void tok_next( tokenizer *tok )
}
check_size( tok, 16 );
tok->buff++;
- swprintf( tok->buff, 16, L"%d", fd );
+ swprintf( tok->last, 16, L"%d", fd );
tok->last_type = TOK_PIPE;
return;
}