mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user