From f9b0db47fe45ba473cefe5be3a98f88480693ef2 Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Wed, 24 Aug 2005 06:03:34 +0000 Subject: [PATCH] Replace() bugfix #2 - forgot to insert replacement text ( yes yes I suck you can stop throwing tomatoes now ) svn path=/trunk/; revision=17508 --- reactos/tools/rbuild/module.cpp | 1 + 1 file changed, 1 insertion(+) 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 ) -- 2.17.1