More work on instancing the parser

This commit is contained in:
ridiculousfish
2012-01-19 10:28:44 -08:00
parent fa796d668f
commit 3d8face1f9
5 changed files with 49 additions and 37 deletions

View File

@@ -232,7 +232,7 @@ static int builtin_commandline( parser_t &parser, wchar_t **argv )
int search_mode = 0;
wchar_t *begin, *end;
current_buffer = (wchar_t *)builtin_complete_get_temporary_buffer();
current_buffer = (wchar_t *)builtin_complete_get_temporary_buffer(parser);
if( current_buffer )
{
current_cursor_pos = wcslen( current_buffer );