bugfix - Replace() was truncating the string

svn path=/trunk/; revision=17507
This commit is contained in:
Royce Mitchell III 2005-08-24 06:01:02 +00:00
parent e5cc52e14b
commit 2a5ef2ef24

View file

@ -38,7 +38,7 @@ Replace ( const string& s, const string& find, const string& with )
p = p2 + find.size();
}
if ( *p )
ret += *p;
ret += p;
return ret;
}