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 )