Replace() bugfix #2 - forgot to insert replacement text ( yes yes I suck you can stop throwing tomatoes now )

svn path=/trunk/; revision=17508
This commit is contained in:
Royce Mitchell III 2005-08-24 06:03:34 +00:00
parent 2a5ef2ef24
commit f9b0db47fe

View file

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