From: Royce Mitchell III Date: Wed, 24 Aug 2005 06:03:34 +0000 (+0000) Subject: Replace() bugfix #2 - forgot to insert replacement text ( yes yes I suck you can... X-Git-Tag: ReactOS-0.2.8~897 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=f9b0db47fe45ba473cefe5be3a98f88480693ef2 Replace() bugfix #2 - forgot to insert replacement text ( yes yes I suck you can stop throwing tomatoes now ) svn path=/trunk/; revision=17508 --- diff --git a/reactos/tools/rbuild/module.cpp b/reactos/tools/rbuild/module.cpp index d8592158f61..b114b7a946c 100644 --- a/reactos/tools/rbuild/module.cpp +++ b/reactos/tools/rbuild/module.cpp @@ -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 )