mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
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:
parent
2a5ef2ef24
commit
f9b0db47fe
1 changed files with 1 additions and 0 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue