RegExpSubstitute: Enabled "\0" for replacing to the string matched by the complete expression.

This commit is contained in:
spx 2011-07-30 22:11:31 +00:00
parent 5c1334dbd6
commit b16d3d0762

View File

@ -290,7 +290,7 @@ const WCHAR* CMeasure::CheckSubstitute(const WCHAR* buffer)
if (rc > 1)
{
for (int j = rc - 1 ; j > 0 ; j--)
for (int j = rc - 1 ; j >= 0 ; j--)
{
size_t new_start = ovector[2*j];
size_t in_length = ovector[2*j+1] - ovector[2*j];