Fix job_or_process_extent with command substitution

This commit is contained in:
Daniel K 2015-01-14 13:08:09 +01:00 committed by Konrad Borowski
parent 2018b9b217
commit 9374494d2b

View File

@ -423,14 +423,14 @@ static void job_or_process_extent(const wchar_t *buff,
finished=1;
if (b)
{
*b = (wchar_t *)buff + tok_begin;
*b = (wchar_t *)begin + tok_begin;
}
}
else
{
if (a)
{
*a = (wchar_t *)buff + tok_begin+1;
*a = (wchar_t *)begin + tok_begin+1;
}
}